bug-bash
[Top][All Lists]
Advanced

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

Re: $(<file) requotes the quotes?


From: Paul Jarc
Subject: Re: $(<file) requotes the quotes?
Date: Mon, 18 Nov 2002 19:32:40 -0500
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

Phil Edwards <phil@jaj.com> wrote:
> On Mon, Nov 18, 2002 at 01:24:13PM -0500, Paul Jarc wrote:
>> More precisely, quoting and quote removal are not applied to the
>> result of the $() expansion; only word splitting is.  This is correct,
>> documented behavior.
>
> Where?

Hmm... I suppose the absence of the special handling for quotes could
only be considered to be documented in the sense that it is not
documented that special handling takes place.  I guess it could be
clearer.

The order of different kinds of expansions is explicitly documented,
but the relative order of quoting, quote removal, etc., isn't.  Also,
this is a bit confusing:
       Expansion  is  performed  on the command line after it has
       been split into words.  There are seven kinds of expansion
       performed: [...], word splitting, [...].


paul




reply via email to

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