STDERR question
shashi at hotwheel.austin.ibm.com
shashi at hotwheel.austin.ibm.com
Sat Jun 15 07:40:34 AEST 1991
Here's a shell script
...
...
grep '... .' ... || log "grep error"
...
...
the log command logs everything in the script but is there a way to capture the STDERR of say 'grep' by the log command.
i.e within the log command is it possible to get STDERR of other commands.
Any ideas will be welcome
Thanks in advance
shashi
DISCLAIMER: my opinions are independent of IBM's position.
More information about the Comp.unix.shell
mailing list