From: Junio C Hamano Date: Mon, 05 Sep 2011 08:11:18 GMT Subject: Re: [PATCH] shell portability: Use sed instead of non-portable variable expansion Message-ID: <7vehzvcst5.fsf@alter.siamese.dyndns.org> In-Reply-To: <4E648031.6050607@viscovery.net> Johannes Sixt writes: > Am 9/5/2011 9:09, schrieb Junio C Hamano: >> By the way, t9010 uses ${#parameter} (strlen) which is bashism we forbid, >> and it needs to be rewritten (David CC'ed). > > Actually, no. It is perfectly valid POSIX. So we would need this patch. I know it is in POSIX, but not in the subset we allowed so far. I do not recall the details offhand, but we must have seen some shell that lacked it or something.