31.05.2013 Views

Slides Corso Linux - Base (aggiornate al 10.2010) - LUG Roma3

Slides Corso Linux - Base (aggiornate al 10.2010) - LUG Roma3

Slides Corso Linux - Base (aggiornate al 10.2010) - LUG Roma3

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

awk<br />

Stampa i campi di ogni linea in ordine inverso<br />

{<br />

}<br />

for (i=NF; i>=1; i--)<br />

printf "%s", $i;<br />

printf "\n";<br />

Stampa tutte le linee che hanno una 't' seguita da <strong>al</strong>meno un<br />

carattere ed una 'e'.<br />

Notare che la regexp è racchiusa tra /<br />

/t.+e/ { print $0 }

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!