On 7/24/10 3:23 AM, Andreas Schwab wrote:
> [email protected] writes:
>
>> empty line(s) at the end of quoted command subsitutions are missing:
>
> That is not a bug, but a feature. Command subsitution generally strips
> trailing newlines from the output of the command. If you want the
> complete output use a pipe.
This is one of the reasons I added `printf -v' to supplement v=$(command).
Chet
--
``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/