[sf-lug] Fwd: [UMALUG] bash scripting question
Asheesh Laroia
asheesh at asheesh.org
Sun Mar 2 23:06:14 PST 2008
On Sat, 1 Mar 2008, Kristian Erik Hermansen wrote:
> Can someone explain why removing the EOFs here breaks the script when
> using sudo?
Can you run it with "sudo sh -x $script"? That will show what bash is
trying to do.
When you say "breaks," what is the error message?
-- Asheesh.
--
Uncle Ed's Rule of Thumb:
Never use your thumb for a rule.
You'll either hit it with a hammer or get a splinter in it.
More information about the sf-lug
mailing list