Re: Absolute srcdir

2000-03-28 Thread Lars Hecking
Lars J. Aas writes: > BTW, is anyone cataloguing these kinds of bourne shell bugs/anomalies > somewhere? Seems like something like that would be a *very* useful resource > for portable shell script programmers... > > Lars J There is a Unix shell FAQ out there, but the document I have here i

Re: Absolute srcdir

2000-03-28 Thread Lars J. Aas
BTW, is anyone cataloguing these kinds of bourne shell bugs/anomalies somewhere? Seems like something like that would be a *very* useful resource for portable shell script programmers... Lars J

Re: Absolute srcdir

2000-03-28 Thread Lars J. Aas
On Mon, Mar 27, 2000 at 02:58:44PM -0300, Alexandre Oliva wrote: : On Mar 27, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: : > I'm highly tempted to consider this a bash bug : : So am I. Which `bash' is that? I've just tested 2.04, and it *does* : present the bug :-( The same goes for GNU ba

Re: Absolute srcdir

2000-03-28 Thread Akim Demaille
> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes: Ralf> What about this fragment from acgeneral.m4 (~line 4407): Ralf> [[/\\$]]* | ?:[[/\\]]*) INSTALL="$ac_given_INSTALL" ;; Ralf> There, [[/\\$]]* is used instead of [[/\\]]*. For variables which can contain ${prefix} and such.

Re: Absolute srcdir

2000-03-28 Thread Akim Demaille
| Alexandre Oliva wrote: | > On Mar 27, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: | > | > > I'm highly tempted to consider this a bash bug | > | > So am I. Which `bash' is that? I've just tested 2.04, and it *does* | > present the bug :-( | | # bash --version | GNU bash, version 2.03.0(1)

Re: Absolute srcdir

2000-03-27 Thread Ralf Corsepius
Akim Demaille wrote: > Ralf Corsepius sent me this morning a detailed PR with about the same > behavior. I'm highly tempted to consider this a bash bug, unless > someone can demonstrate the usefulness of the following feature... > [..] > > I suppose we should drop the use of [] here. Pfff. W

Re: Absolute srcdir

2000-03-27 Thread Ralf Corsepius
Alexandre Oliva wrote: > On Mar 27, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > > > I'm highly tempted to consider this a bash bug > > So am I. Which `bash' is that? I've just tested 2.04, and it *does* > present the bug :-( # bash --version GNU bash, version 2.03.0(1)-release (i686-pc-li

Re: Absolute srcdir

2000-03-27 Thread Earnie Boyd
--- Alexandre Oliva <[EMAIL PROTECTED]> wrote: > > Or use `[/\\/]', which does work, even with bash 2.04. Or use `[\\/]', which also works. = --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies:

Re: Absolute srcdir

2000-03-27 Thread Alexandre Oliva
On Mar 27, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > I'm highly tempted to consider this a bash bug So am I. Which `bash' is that? I've just tested 2.04, and it *does* present the bug :-( > I suppose we should drop the use of [] here. Pfff. Or use `[/\\/]', which does work, even with

Re: Absolute srcdir

2000-03-27 Thread Lars Hecking
Akim Demaille writes: > Ralf Corsepius sent me this morning a detailed PR with about the same > behavior. I'm highly tempted to consider this a bash bug, unless > someone can demonstrate the usefulness of the following feature... I tend to agree. I ran your little script with /bin/sh and /bin/k

Re: Absolute srcdir

2000-03-27 Thread Akim Demaille
Ralf Corsepius sent me this morning a detailed PR with about the same behavior. I'm highly tempted to consider this a bash bug, unless someone can demonstrate the usefulness of the following feature... /tmp/build % cat /tmp/foo.sh nostromo 19:22 #! /bin/sh ca

Re: Absolute srcdir

2000-03-27 Thread Akim Demaille
I'm on something comparable in Autoconf. Don't know if it's the same, but I'll keep you informed. Akim

Absolute srcdir

2000-03-27 Thread Pavel Roskin
Hello! Sorry for the crosspost. I don't know if it's a problem with Autoconf or with Automake. Libtool is probably just a victim in this case. Autoconf, Automake, Libtool are fresh from CVS. Linux PPC 1999 Q3, gcc-2.95.2, m4-1.4, bash-2.03.1 is /bin/sh. depdemo-make.test fails. It appears that