Robert Schiele [off-list ref] writes:
On Thu, Aug 02, 2007 at 12:44:22PM +0200, David Kastrup wrote:
quoted
! logfile="${1#-?}"
You can't do something like that on /bin/sh on many systems (for
instance Solaris).
Sigh. It's in Posix.
I've seen a lot of "modern" constructs in the Shell scripts of git
(not least of all the eval hackery that is currently used instead of
this), so do you actually have positive knowledge that the existing
git stuff runs fine on such systems, and this wouldn't?
I don't have access to Solaris systems, so I have to take your word on
it, but I find it somewhat surprising that they would not follow Posix
here.
--
David Kastrup