Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15282
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Incorrect passing of argc argv with multiple redirects |
| Date | 2019-07-30 14:00 -0400 |
| Message-ID | <mailman.286.1564509651.1985.bug-bash@gnu.org> (permalink) |
| References | <CANY-LFLTkqOyooA522KwuB1JEiaiUQ=N-5XEVWxueO14WLWWvQ@mail.gmail.com> <373d9218-646e-76de-b1e7-76d8ffd7b378@case.edu> |
On 7/30/19 1:08 PM, Morgan McClure wrote: > ./a.out foo > /dev/null 2&>1; echo $? > returns 3 NOT as expected You probably meant to use 2>&1. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Incorrect passing of argc argv with multiple redirects Chet Ramey <chet.ramey@case.edu> - 2019-07-30 14:00 -0400
csiph-web