From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96474943904173.tru64-unix-managers.marc@archive.invalid> From: Hoai TRAN Date: Fri, 28 Jul 2000 01:57:08 +0000 To: tru64-unix-managers Subject: SUMMARY: RE: shell variables X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96474943904173 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.