Re: 2.6.2alpha question.
2009-01-29 15:34:59
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 jon AT jgcomp DOT com
JG Computing
12027 Creekbend Drive (703) 787-0884
Reston, VA 20194 (703) 787-0922 (fax)
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- 2.6.2alpha question., Gene Heskett
- Re: 2.6.2alpha question., Gene Heskett
- Re: 2.6.2alpha question., Gene Heskett
- Re: 2.6.2alpha question., Dustin J. Mitchell
- Re: 2.6.2alpha question., Gene Heskett
- Re: 2.6.2alpha question., Nicholas Russo
- Re: 2.6.2alpha question., Gene Heskett
- Re: 2.6.2alpha question., Gene Heskett
- Re: 2.6.2alpha question., Dustin J. Mitchell
- Re: 2.6.2alpha question., Gene Heskett
|
|
|