Iñaki Baz Castillo escribió:
> Hola, veo en muchos scripts de inicio que se ejecuta un "set -e" antes
> del "case". No encuentro info sobre dicho comando "set", ¿qué hace?
>
> Gracias.
Sirve para conocer y configurar variables de entorno.
"Every script you write should include set -e at the top. This tells
bash that it should exit the script if any statement returns a non-true
return value."
http://www.davidpashley.com/articles/writing-robust-shell-scripts.html
Más resumido y en castellano:
http://chaneke.red-libre.org/trucos/set.html