cartersk
06-14-2001, 10:10 PM
Hey,
I am having a problem running a script with the following line in it.
echo "${BBALPHAMSG}" | "/usr/bin/snpp -f $HOST"
(all on one line}
I get an error message saying that the file or directory "usr/bin/snpp" does not exist or is invalid.
but when I take out the | and move the /usr/bin/snpp -f $HOST to the second line it works fine... why would the | be causing such a problem? Or am I just using the pipe separator incorrectly?
"Mandrake 7.1 running Big Brother"
Thanks... :confused:
I am having a problem running a script with the following line in it.
echo "${BBALPHAMSG}" | "/usr/bin/snpp -f $HOST"
(all on one line}
I get an error message saying that the file or directory "usr/bin/snpp" does not exist or is invalid.
but when I take out the | and move the /usr/bin/snpp -f $HOST to the second line it works fine... why would the | be causing such a problem? Or am I just using the pipe separator incorrectly?
"Mandrake 7.1 running Big Brother"
Thanks... :confused: