Re: [gentoo-user] Bash Scripting - pipes, quoting & stuff

2004-01-18 Thread Stroller
On Jan 18, 2004, at 10:16 am, Andrew Ross wrote: You are erroneously escaping the shell variables on line 61 of your script: cat $1 | $MAKEMIME -c \"$TYPE\" -e \"$ENCODING\" - Change it to this: cat $1 | $MAKEMIME -c "$TYPE" -e "$ENCODING" - and it should work (or at least, it did for me). *D

Re: [gentoo-user] Bash Scripting - pipes, quoting & stuff

2004-01-18 Thread Andrew Ross
You are erroneously escaping the shell variables on line 61 of your script: cat $1 | $MAKEMIME -c \"$TYPE\" -e \"$ENCODING\" - Change it to this: cat $1 | $MAKEMIME -c "$TYPE" -e "$ENCODING" - and it should work (or at least, it did for me). Cheers Andrew Stroller wrote: I start to write a l

[gentoo-user] Bash Scripting - pipes, quoting & stuff

2004-01-17 Thread Stroller
Ok... I'm stuck. I'm trying to use vgetty as an answerphone. I have got it answering the calls, playing the out-going message & recording peoples' messages to me fine. vgetty has an option in its config file to execute a command when it has finished recording the message, and will pass that