Re: [PATCH 3/4] t5500-fetch-pack: remove local (bashism) usage.
- From
- Herbert Xu <herbert@gondor.apana.org.au>
- Date
- May 29, 2006, 07:31 UTC
- Message-ID
- <20060529073137.GB22452@gondor.apana.org.au>
- In-Reply-To
- <20060529052828.GB24077@localdomain>
On Sun, May 28, 2006 at 10:28:28PM -0700, Eric Wong wrote:
> > Cool. Hmm... pdksh seems to support it here (Debian sid). I'm pretty > sure local is not part of the POSIX spec, though; and I have seen > /bin/sh that don't support it.
It is true that the current POSIX spec does not specify it. However, all useful POSIX-compliant shells on Linux (i.e., excluding those shells that exist only to test POSIX compliance) support it and it is used by a large corpus of existing Linux scripts.
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