[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ensure a VPATH build
From: |
Keith Marshall |
Subject: |
Re: ensure a VPATH build |
Date: |
Sat, 18 Feb 2006 17:00:45 +0000 |
On Saturday 18 February 2006 12:53 pm, Ralf Wildenhues wrote:
> > > Could you confirm that the bug also exists with assignments?
> >
> > I'm not sure. I'd never actually encountered the problem with bash,
> > before this particular MSYS bug report. However, I had previously
> > encountered it in a groff bug report pertaining to pdfroff, where
> > backticks withing quotes broke the groff build on several systems,
> > mostly various flavours of BSD, I think.
>
> Could you point me to the bug report?
http://lists.gnu.org/archive/html/groff/2005-06/msg00032.html
If you follow the thread, you will see that this one was the double
quotes nested within a double quoted backticked substitution; I fixed it
by moving the backticked expression outside of the outer quotes.
You are right: the MSYS bug is subtly different, but *can* be avoided by
adopting a similar quoting style. Perhaps I read more into the autoconf
manual snippet I cited earlier, than was intended by its author.
Nevertheless, it does seem that avoiding backquoted expressions within
double quotes where possible, can lead to more robust and portable
scripts.
Regards,
Keith.
- new macro, Julien Lecomte, 2006/02/16
- ensure a VPATH build (was: new macro), Ralf Wildenhues, 2006/02/17
- Re: ensure a VPATH build (was: new macro), Keith Marshall, 2006/02/18
- Re: ensure a VPATH build, Ralf Wildenhues, 2006/02/18
- Re: ensure a VPATH build, Keith Marshall, 2006/02/18
- Re: ensure a VPATH build, Ralf Wildenhues, 2006/02/18
- Re: ensure a VPATH build, Keith Marshall, 2006/02/18
- double-quoted command substitutions (was: ensure a VPATH build), Ralf Wildenhues, 2006/02/18
- Re: double-quoted command substitutions (was: ensure a VPATH build), Keith Marshall, 2006/02/18
- Re: ensure a VPATH build,
Keith Marshall <=
- Re: ensure a VPATH build, Andreas Schwab, 2006/02/18
- Re: ensure a VPATH build, Ralf Wildenhues, 2006/02/19
- Re: ensure a VPATH build, Keith MARSHALL, 2006/02/21
- Re: ensure a VPATH build, Ralf Wildenhues, 2006/02/21
- Possible zsh contention in pdfroff (Re: [autoconf] ensure a VPATH build), Keith MARSHALL, 2006/02/21
- Re: [Groff] Possible zsh contention in pdfroff (Re: [autoconf] ensure a VPATH build), Pedro A. López-Valencia, 2006/02/22
- Re: ensure a VPATH build, Andreas Schwab, 2006/02/18
- Re: ensure a VPATH build, Julien Lecomte, 2006/02/19
- Re: ensure a VPATH build, Ralf Wildenhues, 2006/02/19
- Re: ensure a VPATH build, Julien Lecomte, 2006/02/19