hi,
a vendor's installation instructions has me execute certain commands on the hp-ux command line like so:
who >& outputfile
or:
ls -l |& tee outputfile
which works fine when typed on the command line.
However if i put those same commands into a shell script, i get this error:
"Generated or received a file descriptor number that is not valid."
The script seems to choke on those ampersands. anyone know why?
thanks!!
a vendor's installation instructions has me execute certain commands on the hp-ux command line like so:
who >& outputfile
or:
ls -l |& tee outputfile
which works fine when typed on the command line.
However if i put those same commands into a shell script, i get this error:
"Generated or received a file descriptor number that is not valid."
The script seems to choke on those ampersands. anyone know why?
thanks!!