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.

Appen<strong>di</strong>ce A. Script aggiuntivi<br />

echo "ERRORE: $MIOFILE non ha i permessi <strong>di</strong> scrittura. Abbandono."<br />

fi<br />

fi<br />

done<br />

done<br />

exit 0<br />

Come impe<strong>di</strong>re alla shell <strong>di</strong> espandere e reinterpretare le stringhe?<br />

Esempio A-25. Proteggere le stringhe letterali<br />

#! /bin/bash<br />

# protect_literal.sh<br />

# set -vx<br />

:

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

Saved successfully!

Ooh no, something went wrong!