Retourner au contenu associé (entrée de forum : Le plus petit)
Posté par M.Poil (site web personnel) le 24 août 2012 à 08:22. En réponse au message Le plus petit. Évalué à 0. Dernière modification le 24 août 2012 à 08:26.
ou encore
awk '{ for (i=1; i<=NF; i++) { if (i%5==1) { nb=$i } if (i%5==0) { print nb" "$i } } }' tmp.txt | sort -n
Ce qui donnerai
awk '{ for (i=1; i<=NF; i++) { if (i%5==1) { nb=$i } if (i%5==0) { print nb" "$i } } }' < <(grep personnes /tmp/fip_occupation | cut -d '<' -f2 | cut -d '"' -f2) | sort -n
Is it a Bird? Is it a Plane?? No, it's Super Poil !!!
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: Solution quick & dirty Bash
Posté par M.Poil (site web personnel) . En réponse au message Le plus petit. Évalué à 0. Dernière modification le 24 août 2012 à 08:26.
ou encore
Ce qui donnerai
Is it a Bird? Is it a Plane?? No, it's Super Poil !!!