Niclas Hedhman wrote:
On Friday 06 February 2004 16:48, Niclas Hedhman wrote:

DATE=`date` ; cvs -q update -dP ; echo $DATE ; date

Fri Feb 6 16:43:59 MYT 2004
Fri Feb  6 16:46:01 MYT 2004

How come the DATE=`date` ; echo $DATE removes ONE space??

guess:


$DATE contains "Fri Feb 6 16:43:59 MYT 2004". This is expanded, then fed to echo. Echo ignores multiple spaces.

--
cheers,

- Leo Simons

-----------------------------------------------------------------------
Weblog              -- http://leosimons.com/
IoC Component Glue  -- http://jicarilla.org/
Articles & Opinions -- http://articles.leosimons.com/
-----------------------------------------------------------------------
"We started off trying to set up a small anarchist community, but
 people wouldn't obey the rules."
                                                        -- Alan Bennett



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to