Re: Bash function not working…

Steve Flynn anothermindbomb at gmail.com
Tue Jan 8 17:00:54 UTC 2013


On 8 January 2013 16:57, Johnny Rosenberg <gurus.knugum at gmail.com> wrote:

> Thanks for all replies. As many pointed out, replacing , with ","
> didn't change anything. I will do some more tests to see if I can
> figure out which pipe mess things up.
> In the mean time, more replies are welcome, of course…

Fire a "set -x" to switch on command line quoting.

Then run the function.

You should see exactly what the shell is going to execute, and
hopefully spot what's going wrong.

When you're sick of seeing your commands echo'd back to you, "set +x"
to turn it off.

-- 
Steve

When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.




More information about the ubuntu-users mailing list