🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #174

Re: Re^2: n>&m redirection and alias expansion in bash 1.01

#174
From: J. Michael Berkley
Date: Thu, 29 Jun 1989 02:57
12 lines
1279 bytes
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.
Technical Details
Message-ID: <JMBERKLEY.89Jun28225752@watnext.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watcgl!jmberkley
References: <JMBERKLEY.89Jun26184904@watnext.waterloo.edu> <89Jun27.073532edt.11740@neat.ai.toronto.edu> <2809@solo3.cs.vu.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <JMBERKLEY.89Jun28225752@watnext.waterloo.edu>
Date: 29 Jun 89 02:57:52 GMT
References: <JMBERKLEY.89Jun26184904@watnext.waterloo.edu>
 <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