Re:How to Debug Bash Scripts
by tetha on Tuesday August 25, 2009 @02:36PM
(#785422)
I always like this approach for dangerous (almost anything which messes with files is dangerous ;) ) scripts: output the commands it would execute, but don't execute them. The user can eyeball them and check that those commands are what he wants and copies them into a shell toe xecute them.
[ Parent
| on HN ]
There are no comments on this comment yet.