I having a brain fart right now !
I can not seem to come up with a working answer.
This is what I have
I have a function within a script called sendoc.
Basically it processes output from our ERP system, formats the output then passes it to vsifax for faxing.
Here is the code.
***********************************************************
if [ -s $TMPFILE ]
then
npgs=`sendoc | /usr/vsifax/bin/pcout`
sendoc | /usr/vsifax/bin/vfx -n $FAXNUM -s -d fax1
fi
rm $TMPFILE
************************************************************
I want to add another function.
cp sendoc /tmp/notes
I can not seem to get it working
-Danny
I can not seem to come up with a working answer.
This is what I have
I have a function within a script called sendoc.
Basically it processes output from our ERP system, formats the output then passes it to vsifax for faxing.
Here is the code.
***********************************************************
if [ -s $TMPFILE ]
then
npgs=`sendoc | /usr/vsifax/bin/pcout`
sendoc | /usr/vsifax/bin/vfx -n $FAXNUM -s -d fax1
fi
rm $TMPFILE
************************************************************
I want to add another function.
cp sendoc /tmp/notes
I can not seem to get it working
-Danny