Jacob Meuser wrote:
> perhaps I should have been more precise: you can't pipe stderr to
> one command, and stdin to another.
Sure you can.
sh-2.03$ cat mycommand
#!/bin/sh
echo This is standard output.
echo This is standard error. >&2
echo This is nonstandard 3. >&3
sh-2.03$ ((./mycommand | od -c > fd1) 2>&1 | od -c > fd2) 3>&1 | od -c
> fd3
sh-2.03$ head fd?
==> fd1 <==
0000000 T h i s i s s t a n d a r d
0000020 o u t p u t . \n
0000031
==> fd2 <==
0000000 T h i s i s s t a n d a r d
0000020 e r r o r . \n
0000030
==> fd3 <==
0000000 T h i s i s n o n s t a n d
0000020 a r d 3 . \n
0000027
--
Bob Miller K<bob>
kbobsoft software consulting
http://kbobsoft.com [EMAIL PROTECTED]