tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Hoai TRAN <Htran () freightcorp ! com ! au>
To: tru64-unix-managers
Subject: SUMMARY: RE: shell variables
Date: Fri, 28 Jul 2000 01:57:08 +0000	[thread overview]
Message-ID: <96474943904173.tru64-unix-managers.marc@archive.invalid> (raw)

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.

                 reply	other threads:[~2000-07-28  1:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox