Mail Archives: djgpp/1996/05/24/08:25:27
On Thu, 23 May 1996, I.G.Badcoe wrote:
> I was messing about with redir last night and I can't make it perform
> as I expected.
>
> redir -eo -o x prog
>
> lead to stdout being lost
>
> and
>
> redir -oe -e x prog had the same effect.
The docs of `redir' (in the info/utils.inf file) clearly state that
`redir' processes the command-line arguments in the order they are
given. So you must *first* tell it to redirect stdout to x and *then* to
put stderr to where stdout goes. The docs even give an example of how it
should be done:
redir -o x -eo prog
or
redir -e x -oe prog
- Raw text -