>>> On 1/8/2009 at 12:36 PM, John McKown <joa...@swbell.net> wrote: > Is there any better way, in a bash script, to pipe both stdout and stderr > from an application other than using a subshell? So far the only way that > I've thought of to do it is: > > (command parm1 ... 2>&1) | othercommand
Just: command parm1 2>&1 | othercommand should work. If it doesn't for you, can you provide a specific example? Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390