Paul Jarc <prj@po.cwru.edu>:
> { xsltproc "$tmpfile" 2>&1 >&3 | sed -e ":$tmpfile:s::foobar.xml:" } 3>&1
Hm. Are you sure that shouldn't read 2>&1 >&3 ? It looks like you're
directing stderr to fd 1, then directing fd1 to fd3
And I suspect that last 3>&1 ought to read 3>&2.
The bsic trick of using a redirect to fd 3 inside the command and a redirect
of fd 3 outside it looks like it should work, though.
--
<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>