Script shell

Fermé
sisimouhamed - 5 mai 2009 à 16:23
mamiemando Messages postés 33081 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 27 avril 2024 - 5 mai 2009 à 18:28
Bonjour,
Je voudrai une aide auprés de vous à savoire comment ecrire un script shell quio done le nombre de fois de repetition d'un mot dans un fichier exemple:si dans un fichier on a 5 fois le mots manger ,10 fois le mot boire et 4 fois le mot intellegent notre script doit afficher:
manger 5
boire 10
intelligent 4
merci de m'aider
A voir également:

1 réponse

mamiemando Messages postés 33081 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 27 avril 2024 7 749
5 mai 2009 à 18:28
1