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 il nome file; poi stampa il 1° campo, il 3° e l'ultimo di ogni<br />

linea. In fondo c'è la modifica per fargli stampare solo quelli delle<br />

linee tra 1 e 4<br />

BEGIN { print "Start of file:", FILENAME;}<br />

{<br />

}<br />

print $1, $3, $NF<br />

END{ print "End of file" }<br />

awk ’NR>1 && NR

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

Saved successfully!

Ooh no, something went wrong!