11.04.2013 Views

Guida avanzata di scripting Bash - Portale Posta DMI

Guida avanzata di scripting Bash - Portale Posta DMI

Guida avanzata di scripting Bash - Portale Posta DMI

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.

# È necessario effettuare la registrazione prima dell’esecuzione.<br />

# Perché?<br />

Esempio 33-4. Uno shell wrapper per uno script awk<br />

#!/bin/bash<br />

# pr-ascii.sh: Visualizza una tabella <strong>di</strong> caratteri ASCII.<br />

INIZIO=33 # Intervallo dei caratteri ASCII stampabili (decimali).<br />

FINE=125<br />

echo " Decimale Esa Carattere" # Intestazione.<br />

echo " -------- --- ---------"<br />

Capitolo 33. Miscellanea<br />

for ((i=INIZIO; i

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

Saved successfully!

Ooh no, something went wrong!