Retourner au contenu associé (journal : Args parser pour shell)
Posté par Marotte ⛧ le 15 février 2024 à 19:21. En réponse au journal Args parser pour shell. Évalué à 4. Dernière modification le 15 février 2024 à 19:22.
toto=$(cat fichier | grep truc | wc -l) suivi d’un if [ $toto -eq 1 ] ... bien sûr tant qu’à faire :)
toto=$(cat fichier | grep truc | wc -l)
if [ $toto -eq 1 ] ...
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: getopt(1)
Posté par Marotte ⛧ . En réponse au journal Args parser pour shell. Évalué à 4. Dernière modification le 15 février 2024 à 19:22.
toto=$(cat fichier | grep truc | wc -l)suivi d’unif [ $toto -eq 1 ] ...bien sûr tant qu’à faire :)