🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1608

using set in a csh script

#1608
From: Martha S. DasSarma
Date: Wed, 24 Oct 1990 21:44
24 lines
825 bytes
	I am trying to do set a variable that includes spaces, but the
	set deletes them.
	I type:

	$ set t="Mon   5"
	$ echo $t
	$ Mon 5

	What happens is that the set deletes the extra spaces I put 
	in the set.
	How could I preserve the spaces?

	Any help will be appreciated.

	Thanks,

	Martha DasSarma


------

Martha DasSarma, Research Computing Facility, COINS, UMass/Amherst
internet: martha@cs.umass.edu
Technical Details
Message-ID: <21752@dime.cs.umass.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bu.edu!husc6!m2c!umvlsi!dime!root

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bu.edu!husc6!m2c!umvlsi!dime!root
From: martha@cs.umass.edu (Martha S. DasSarma)
Newsgroups: comp.unix.shell
Subject: using set in a csh script
Message-ID: <21752@dime.cs.umass.edu>
Date: 24 Oct 90 21:44:07 GMT
Sender: news@dime.cs.umass.edu
Reply-To: martha@cs.umass.edu (Martha S. DasSarma)
Organization: University of Massachusetts, Amherst
Lines: 24