On 6/17/16 6:21 AM, Dean Wakerley wrote:
> Bash Version: 4.3
> Patch Level: 42
> Release Status: release
>
> Description:
> The expansion of a variable containing spaces splits on all spaces
> including escaped/backslashed space.
This analysis isn't correct, and the description above describes the
correct behavior. A backslash in the expansion of a variable does not
have any special meaning to word splitting. Backslashes are special to
the shell parser; if you want to have them interpreted, you need to run
the text through the parser. This is usually accomplished using `eval'.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/