Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime!hotwheel.austin.ibm.com!shashi From: shashi@hotwheel.austin.ibm.com Newsgroups: comp.unix.shell Subject: STDERR question Message-ID: <8496@awdprime.UUCP> Date: 14 Jun 91 21:40:34 GMT Sender: news@awdprime.UUCP Organization: IBM AWD, Austin Lines: 19 Originator: shashi@hotwheel.austin.ibm.com 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.