A voir également:
- Mot contenant des caractères, sh
- Trousseau mot de passe iphone - Guide
- Mot de passe - Guide
- Caractères spéciaux - Guide
- Caractères ascii - Guide
- Exemple de mot de passe à 8 caractères - Guide
1 réponse
Salut,
;-))
[tmpfs]$ A="toutou";B="joujou";C="tout a fait" [tmpfs]$ for i in "$A" "$B" "$C"; do grep -q 'tou' <<<"$i"; if [ "$?" = 0 ]; then echo "La variable \"$i\" contient la chaine \"tou\""; fi; done La variable "toutou" contient la chaine "tou" La variable "tout a fait" contient la chaine "tou" [tmpfs]$
;-))