Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16590
| Path | csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Rusty Bird <rustybird@net-c.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: 'foo > >(bar)' doesn't set $! for external foo not invoked via 'command' |
| Date | Mon, 20 Jul 2020 11:14:39 +0000 |
| Lines | 44 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.219.1595243701.24492.bug-bash@gnu.org> (permalink) |
| References | <20200719204836.GA1184@mutt> <CAH7i3Lqre0SoX_nJaMis=g7T_+X1LtrsPWJiJCjRCrHT1Y4_Jw@mail.gmail.com> <20200720102136.GA1147@mutt> <CAH7i3LrFCT7C4suAbKwCEf5izX5y4wSbtLH8L5bsP_EzzKiSOw@mail.gmail.com> <20200720111439.GA1634@mutt> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" |
| X-Trace | usenet.stanford.edu 1595243702 26614 209.51.188.17 (20 Jul 2020 11:15:02 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-bash@gnu.org |
| To | Oğuz <oguzismailuysal@gmail.com> |
| Envelope-to | bug-bash@gnu.org |
| X-EA-Auth | kt1k8VjYrSIskVAiqKV/5KMG2HTYtFV5FyWvjtoSF7xRkUFhJnlQYBQzAwTPdfHxt7WFp4OwSFEurlTZ+9TS2GQngv+6KDKlRIQx6BrycGM= |
| Mail-Followup-To | Oğuz <oguzismailuysal@gmail.com>, bug-bash@gnu.org |
| Content-Disposition | inline |
| In-Reply-To | <CAH7i3LrFCT7C4suAbKwCEf5izX5y4wSbtLH8L5bsP_EzzKiSOw@mail.gmail.com> |
| Received-SPF | pass client-ip=213.182.54.6; envelope-from=rustybird@net-c.com; helo=relay-1.mailobj.net |
| X-detected-operating-system | by eggs.gnu.org: First seen = 2020/07/20 06:21:42 |
| X-ACL-Warn | Detected OS = Linux 3.1-3.10 |
| X-Spam_score_int | -28 |
| X-Spam_score | -2.9 |
| X-Spam_bar | -- |
| X-Spam_report | (-2.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no |
| X-Spam_action | no action |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20200720111439.GA1634@mutt> |
| X-Mailman-Original-References | <20200719204836.GA1184@mutt> <CAH7i3Lqre0SoX_nJaMis=g7T_+X1LtrsPWJiJCjRCrHT1Y4_Jw@mail.gmail.com> <20200720102136.GA1147@mutt> <CAH7i3LrFCT7C4suAbKwCEf5izX5y4wSbtLH8L5bsP_EzzKiSOw@mail.gmail.com> |
| Xref | csiph.com gnu.bash.bug:16590 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Oğuz:
> `>&"$out" is very ugly though, it'd be nice if `{var}' thing worked at
> the RHS of redirection operator, like `>&{var}`, which, on bash 5.0.11,
> ignores `&' -another bug?- and redirects stdout to a file named `{var}'.
Probably more backwards compatibility than a bug - '>&word' (with word
neither a number nor a dash) is an alternative form of '&>word':
https://www.gnu.org/software/bash/manual/html_node/Redirections.html#Redirecting-Standard-Output-and-Standard-Error
Rusty
Back to gnu.bash.bug | Previous | Next | Find similar
Re: 'foo > >(bar)' doesn't set $! for external foo not invoked via 'command' Rusty Bird <rustybird@net-c.com> - 2020-07-20 11:14 +0000
csiph-web