Re: [PATCH] shell portability: Use sed instead of non-portable variable expansion
From: Junio C Hamano <hidden> Date: 2016-06-15 22:51:58
Johannes Sixt [off-list ref] writes:
Am 9/5/2011 9:09, schrieb Junio C Hamano:
quoted
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.