On Thu, Jan 29, 2009 at 08:24:34AM -0500, Benjamin Lewis wrote:
>
> I should note that there's also a bug in the autogen script itself:
>
> die() {
> echo x"$...@}" | sed s/^x//
> exit 1
> }
>
> Maybe that works on Linux where /bin/sh and /bin/bash are identical but
> on Solaris you'll need something like
>
> die() {
> echo x"$...@}" | sed 's/^x//'
> exit 1
> }
By way of explanation for those not old enough to have been around
when it was the case (unlike myself), early unix shells recognized
two symbols for piping, the vertical bar (|) and the caret (^).
This "feature" was carried through several unix shells, notably,
the Thompson, Mashey, and Bourne shells. As Solaris' /bin/sh is
the Bourne shell, the caret in the first version needs quoting.
jl
--
Jon H. LaBadie [email protected]
JG Computing
12027 Creekbend Drive (703) 787-0884
Reston, VA 20194 (703) 787-0922 (fax)