Re: [PATCH] t7800: avoid arithmetic expansion notation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 14, 2011, 18:00 UTC
- Message-ID
- <7v4nzb1mjd.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <837ad77348b459aa5f5f79e556dbeeeba41027e7.1318594392.git.git@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
Show 7 quoted lines
> ba959de (git-difftool: allow skipping file by typing 'n' at prompt, 2011-10-08) > introduced shell code like > > $((foo; bar) | baz) > > which some shells (e.g. bash, dash) interpret as an unfinished arithmetic > evaluation $(( expr )).
Ahh, thanks, I should have caught this. I recall I rewrote a similar one to $( (command; command) | command ) more than once before.