[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fix AT_SETUP's sh-escaping

From: Ralf Wildenhues
Subject: Re: fix AT_SETUP's sh-escaping
Date: Thu, 9 Nov 2006 21:46:44 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Joel E. Denny wrote on Thu, Nov 09, 2006 at 07:44:52PM CET:
> On Thu, 9 Nov 2006, Ralf Wildenhues wrote:
> > everywhere is a complete waste.  IMHO we should document that
> > backslashes in AT_SETUP's argument are dangerous (who would need that
> > anyway?),
> I have a test suite for regular expression handling.  I find that 
> embedding the regular expressions (with many special characters like 
> backslash) in the titles is helpful.

Hmm.  Well, I can try and see how far I can get; we can still decide
then.  In any case the testsuite wasn't exposing some of the potential
pitfall cases.

Meanwhile, I'd be interested in hearing whether using shell functions
for a compact/efficient fix would be suitable (a func_echo comes to
mind), or an approach in the manner of how Libtool sets/uses $echo/$ECHO
which in the worst case of running '$0 --fallback-echo' is _very_ _very_


reply via email to

[Prev in Thread] Current Thread [Next in Thread]