autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH v2] AS_VAR_APPEND


From: Ralf Wildenhues
Subject: Re: [PATCH v2] AS_VAR_APPEND
Date: Tue, 21 Oct 2008 20:06:00 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Eric,

* Eric Blake wrote on Tue, Oct 21, 2008 at 06:40:23PM CEST:
> Comments or objections to this version of the patch?

Looks good to me (untested), except one minor nit.

> @@ -12163,7 +12188,10 @@ Polymorphic Variables
>  @defmac AS_VAR_SET (@var{var}, @ovar{value})
>  @asindex{VAR_SET}
>  Emit shell code to assign the contents of the polymorphic shell variable
> address@hidden to the shell expansion of @var{value}.
> address@hidden to the shell expansion of @var{value}.  @var{value} is not
> +subject to field splitting or file name expansion, so if command
> +substitution is used, it should be done with @samp{`""`} rather than
> address@hidden"`""`"} (@pxref{Shell Substitutions}).
>  @end defmac

This sounds a bit like, if field splitting were happening, then "`""`"
would have been a good idea.  Since that's not the case even in those
circumstances, how about rewriting it as

  @var{var} to the shell expansion of @var{value}.  @var{value} is not
  subject to field splitting or file name expansion, so if command
  substitution is used, it may be done with @samp{`""`} rather than
  using an intermediate variable (@pxref{Shell Substitutions}).

Thanks!
Ralf




reply via email to

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