Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Randy Dunlap <rdunlap@...>
Cc: Andreas Mohr <andi@...>, Andrew Morton <akpm@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Thursday, November 1, 2007 - 10:01 pm

On Thu, Nov 01, 2007 at 04:08:57PM -0700, Randy Dunlap wrote:

This is POSIX-compliant and has worked with dash from the very
start.


Using variables without dollar signs in arithmetic expansion was
only added to dash very recently.  So please please talk to your
distribution maker to update their dash packages and it will work
correctly.

This usage is compliant with the most recent revision of POSIX
while earlier ones did not specifically require this (due to
the fact that assignment support was not required either).

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH/RFC] eradicate bashisms in scripts/patch-kernel, Andreas Mohr, (Wed Oct 31, 5:13 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel, Herbert Xu, (Thu Nov 1, 10:01 pm)
[PATCH] eradicate bashisms in scripts/patch-kernel, Andreas Mohr, (Sat Nov 17, 4:51 pm)
Re: [PATCH] eradicate bashisms in scripts/patch-kernel, Randy Dunlap, (Wed Jan 2, 7:00 pm)