[EMAIL PROTECTED] writes:

> Alfred M. Szmidt wrote:
>> [EMAIL PROTECTED]:/tmp/foo$ touch 1 2 3 4 5
>> [EMAIL PROTECTED]:/tmp/foo$ foo=`ls`
>
> $foo will contain the string 1\n2\n3\n4\n5\n

Actually $foo only contains `1\n2\n3\n4\n5', the trailing newline will be
chopped off by the shell.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to