Re: PATH and $0

2006-08-02 Thread Stephane Chazelas
On Thu, Jul 13, 2006 at 11:53:00PM -0600, Bob Proulx wrote: > Stephane Chazelas wrote: > > $0 will always contain the file path, unless the script was > > started as: > > > > bash script.sh > > > > And there's no script.sh in the current directory (in which case > > sh/bash will have looked up scr

Re: (no subject)

2006-08-02 Thread Chris F.A. Johnson
On 2006-07-31, Poor Yorick wrote: > The following command does not echo "hello". > >: ${FAKEVAR?} || echo hello > > This seems inconsistent, since the return status is set to 1. It > would be a convenient and concise syntax for acting on unset > variables. If the variable is not set, "the sh

Re: Link Error bash-3.1, AIX 5.2, xlC version 8

2006-08-02 Thread mwoehlke
Perry Smith wrote: This may be a dup but the subject pretty much says it all. Compiled bash-3.1 fresh out of the box with just a configure command. The only error was this: ld: 0711-317 ERROR: Undefined symbol: .isnan I fixed it by adding -lm to the LOCAL_LIBS in the Makefile. Not sure if