* SUMMARY: RE: shell variables
@ 2000-07-28 1:57 Hoai TRAN
0 siblings, 0 replies; only message in thread
From: Hoai TRAN @ 2000-07-28 1:57 UTC (permalink / raw)
To: tru64-unix-managers
Thanks to Herman Fredriksson and Crhis Parry and Ian.
=20
The solution is to echo the variable inside "".
=20
=20
Regards,
Hoai
=20
Original Post:=20
=20
Can anyone tell me why this happens:=20
# test=3D"test 2" #note there are two spaces between test =
and 2=20
# echo $test # this will show test 2 (somehow compressing the =
string=20
to single space)=20
I do not want the string to be compressed, how can I go about =
doing that?=20
Thanks.=20
Regards,=20
Hoai=20
The information contained in this e mail is confidential and =
intended=20
only for the person to whom it is addressed. Other people may not=20
copy, use, disclose or distribute this information. If this message=20
has been sent to you in error, could you please e mail the sender=20
and destroy the message. Thank you.=20
The information contained in this e-mail is confidential and intended
only for the person to whom it is addressed. Other people may not
copy, use, disclose or distribute this information. If this message
has been sent to you in error, could you please e-mail the sender
and destroy the message. Thank you.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-07-28 1:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-28 1:57 SUMMARY: RE: shell variables Hoai TRAN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox