bug-coreutils
[Top][All Lists]
Advanced

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

weird echo behaviour...


From: Alfred M. Szmidt
Subject: weird echo behaviour...
Date: Thu, 16 Sep 2004 17:21:54 +0200

Could someone explain the following behaviour for me?  Because I sure
do not understand it.

address@hidden:/tmp/foo$ touch 1 2 3 4 5
address@hidden:/tmp/foo$ foo=`ls`
address@hidden:/tmp/foo$ /bin/echo $foo
1 2 3 4 5
address@hidden:/tmp/foo$ /bin/echo "$foo"
1
2
3
4
5
address@hidden:/tmp/foo$ foo='1 2 3 4 5'
address@hidden:/tmp/foo$ /bin/echo $foo
1 2 3 4 5
address@hidden:/tmp/foo$ /bin/echo "$foo"
1 2 3 4 5
address@hidden:/tmp/foo$ /bin/echo --version
echo (GNU coreutils) 5.2.1




reply via email to

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