Comment parcourir une ligne de droite à gauche avec awk ?
Voila une question que ce pose tout ceux qui ce trouve face à des nombres de champs variable sur la même ligne de fichier. Voici la solution que j’ai trouvé
<span style="color: #c20cb9; font-weight: bold;">awk</span> -v <span style="color: #007800;">OFS=</span><span style="color: #ff0000;">''</span> <span style="color: #ff0000;">'{print $(NF)}'</span> <span style="color: #c20cb9; font-weight: bold;">file</span>.txt