^ What he said
Consider this shell script:
Now, because of a error in your script or some other reason, ${root} isn't set. The shell will continue happily, but now it executes:
Whoops!
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Last edited by Carpetsmoker; 30th June 2011 at 04:52 PM.
|