🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1225

how to make csh leave quotes on args

#1225
From: Hunter Scales
Date: Mon, 24 Sep 1990 15:18
25 lines
837 bytes
	Does anyone know how to force csh to leave the quotes on args
	and pass them down to a command?

	I.e., I need to call a command like so:

	foo "this is an argument"

	from a shell.  I have tried this:

	set string = "this is an argument"
	foo "$string"

	and I get:

	foo this is an argument

	how can I force it leave the quotes on?



-- 
Motorola Semiconductor Inc.                Hunter Scales
Austin, Texas             {harvard,utah-cs,gatech}!cs.utexas.edu!oakhill!hunter
#include <disclaimer.h>
Technical Details
Message-ID: <3883@cerberus.oakhill.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mailrus!cs.utexas.edu!oakhill!hunter

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mailrus!cs.utexas.edu!oakhill!hunter
From: hunter@oakhill.UUCP (Hunter Scales)
Newsgroups: comp.unix.shell
Subject: how to make csh leave quotes on args
Message-ID: <3883@cerberus.oakhill.UUCP>
Date: 24 Sep 90 15:18:20 GMT
Organization: Motorola Inc. Austin, Tx
Lines: 25