Article View: gnu.bash.bug
Article #165Re^2: n>&m redirection and alias expansion in bash 1.01
From: Maarten Litmaath
Date: Tue, 27 Jun 1989 21:35
Date: Tue, 27 Jun 1989 21:35
17 lines
1163 bytes
1163 bytes
lamy@ai.utoronto.ca (Jean-Francois Lamy) writes: \jmberkley@watnext.waterloo.edu (J. Michael Berkley) writes: \ \> foo 2>&1 > foo.out \ \(Independently of the problem with aliases): you should be saying \ \ foo > foo.out 2>&1 \ \if you want to follow "sh" usage (and bash usage if it follows sh semantics \for redirection). Order of indirection does matter. Precisely! What if Michael wanted to dup stderr to the original stdout and redirect stdout to a file? -- "I HATE arbitrary limits, especially when |Maarten Litmaath @ VU Amsterdam: they're small." (Stephen Savitzky) |maart@cs.vu.nl, mcvax!botter!maart
Technical Details
Message-ID:
<2809@solo3.cs.vu.nl>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!bionet!apple!usc!sdsu!lll-winken!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maartReferences:
<JMBERKLEY.89Jun26184904@watnext.waterloo.edu> <89Jun27.073532edt.11740@neat.ai.toronto.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!bionet!apple!usc!sdsu!lll-winken!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: gnu.bash.bug Subject: Re^2: n>&m redirection and alias expansion in bash 1.01 Message-ID: <2809@solo3.cs.vu.nl> Date: 27 Jun 89 21:35:16 GMT References: <JMBERKLEY.89Jun26184904@watnext.waterloo.edu> <89Jun27.073532edt.11740@neat.ai.toronto.edu> Distribution: gnu Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 17