Date: Fri, 24 May 1996 15:21:18 +0200 (IST) From: Eli Zaretskii To: "I.G.Badcoe" Cc: djgpp AT delorie DOT com Subject: Re: odd redir behaviour ? In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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