Path: utzoo!utgpu!watmath!watcgl!jmberkley From: jmberkley@watnext.waterloo.edu (J. Michael Berkley) Newsgroups: gnu.bash.bug Subject: Re: Re^2: n>&m redirection and alias expansion in bash 1.01 Message-ID: Date: 29 Jun 89 02:57:52 GMT References: <89Jun27.073532edt.11740@neat.ai.toronto.edu> <2809@solo3.cs.vu.nl> Sender: daemon@watcgl.waterloo.edu Reply-To: jmberkley@watnext.waterloo.edu Distribution: gnu Organization: University of Waterloo, Waterloo, Ontario, Canada Lines: 12 In-reply-to: maart@cs.vu.nl's message of 27 Jun 89 21:35:16 GMT lamy@ai.utoronto.ca (Jean-Francois Lamy) writes: \if you want to follow "sh" usage (and bash usage if it follows sh semantics \for redirection). Order of indirection does matter. In article <2809@solo3.cs.vu.nl> maart@cs.vu.nl (Maarten Litmaath) writes: Precisely! What if Michael wanted to dup stderr to the original stdout and redirect stdout to a file? Argh. I am thankful to everyone who has pointed out that my ordering was incorrect, but the real problem is with bash and incorrect alias expansion. Ordering is not very important when bash is giving syntax errors because of an alias.