Re: Shell script cleanups/style changes?
- From
David Kastrup <dak@gnu.org>
- Date
- Aug 2, 2007, 23:17 UTC
- Message-ID
- <85ps25y1ac.fsf@lola.goethe.zz>
- In-Reply-To
- <7vwswdsfjp.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <gitster@pobox.com> writes:
> However, there is a line we need to draw when bending bacwards for > compatibility, and I think a system that does not have a working > command substitution $( ... ) is on the other side of that line.
Not an issue. But apparently, ${parameter#word} is for Solaris. I'd still like to get confirmation that it is indeed /bin/sh, but if it is, the current code is not good for Solaris.
So the line of compatibility is much more interesting for this one.
-- David Kastrup, Kriemhildstr. 15, 44793 Bochum