Retourner au contenu associé (entrée de forum : Problème récupération variable :-/)
Posté par Amand Tihon (site web personnel) le 23 mai 2007 à 13:11. En réponse au message Problème récupération variable :-/. Évalué à 3.
[13:09] atihon@armida:~$ cat fichier dazdzad4484481484ef4ef4 5 cczecezcec15151544d4e4 45 czecececec5114844vvzec4ec1c4e4c 89 4e84e8c7ze4c7ez4c74df74fze4f 122 5114414741174174114 75 [13:09] atihon@armida:~$ awk '{print $NF}' fichier 5 45 89 122 75
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# awk
Posté par Amand Tihon (site web personnel) . En réponse au message Problème récupération variable :-/. Évalué à 3.
[13:09] atihon@armida:~$ cat fichier dazdzad4484481484ef4ef4 5 cczecezcec15151544d4e4 45 czecececec5114844vvzec4ec1c4e4c 89 4e84e8c7ze4c7ez4c74df74fze4f 122 5114414741174174114 75 [13:09] atihon@armida:~$ awk '{print $NF}' fichier 5 45 89 122 75La variable awk "$NF" correspond au dernier champ, il me semble que c'est exactement ce que tu recherches.