[net.unix-wizards] 'Sh' question related to redirecting 'stderr'

randy@utcsri.UUCP (Randall S. Becker) (06/03/85)

*** REPLACE THIS LINE WITH YOUR QUESTION ***

Just a quicky,
	Is is possible to direct the output from 'stderr' through
	a pipe using 'Sh'?
	(Please, I know how to do it using 'Csh' but I DON'T have
	 it on my own machine (utcsri DOES of course)).

	Thanks in advance,

	Randy
-- 
		Randall S. Becker
		Usenet:	..!utcsri!randy
		CSNET:	randy@toronto

mrl@drutx.UUCP (LongoMR) (06/06/85)

[]

>  Is is possible to direct the output from 'stderr' through
>  a pipe using 'Sh'?

I haven't put much thought into it, but the obvious approach is to
redirect stdout and send what's left to a pipe... sort of

	command > `tty` | opr

Haven't tried it but it should work! 
	Mark Longo	AT&T ISL Denver