Piping stderr in Korn and/or Bourne shell

Donald Lashomb donlash at uncle.UUCP
Sat Apr 7 08:47:17 AEST 1990


In article <3620 at hcx1.SSD.CSD.HARRIS.COM> brad at SSD.CSD.HARRIS.COM (Brad Appleton) writes:
[ ]
=I have a program that is supposed to read error output from other
=programs. I want to pipe stderr to this program WITHOUT piping
=stdin as well. I have not been able to find this in TFM (I have 
[ ]

This works for me:

tst 2>&1 >outfile | whatever

-Don



More information about the Comp.unix.questions mailing list