On 7/24/10 3:23 AM, Andreas Schwab wrote:
> koe...@science-computing.de 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    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to