Article View: bit.listserv.coco
Article #43174shell plus
From: only_bbs!jzr
Date: Tue, 21 Dec 1993 09:56
Date: Tue, 21 Dec 1993 09:56
28 lines
1677 bytes
1677 bytes
The manual is very obtuse on this subject, so I'll ask:
Does shell plus accept command line parameters into work
variables in some fashion? I've already tried simply accessing %0
within the script in hopes that it would hold the first passed
parameter. It didn't. Is there some way to do this?
For those of you who aren't sure what I mean, it's this... In
DOS (yes, sorry, that _is_ DOS), the following is true:
Suppose "hello.bat" contains:
echo %1 %2 %3 <eof>
Then, the following would happen:
C:/> hello.bat parm1 parm2 parm3 parm1 parm2 parm3
As you can see, echo would return the three passed command line
parameters. Is there a way for shell+ to do something analagous to
this?
- A. Hsiao
---------------------------------
--- zog!jzr@abode.ttank.com ---
--- jzr@onlybbs.via.mind.org ---
---------------------------------
--
via Fortress Gateway at uumind.mind.ORG
Technical Details
Message-ID:
<2922056@under.mind.ORG>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!paladin.american.edu!auvm!UNDER.MIND.ORG!only_bbs!jzrShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110568,d54d7c7e2b927dc4,start X-Google-Attributes: gid110568,public X-Google-ArrivalTime: 1993-12-22 22:41:05 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!paladin.american.edu!auvm!UNDER.MIND.ORG!only_bbs!jzr Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU Newsgroups: bit.listserv.coco Return-Path: <@AUVM.AMERICAN.EDU:COCO@PUCC.BITNET> Return-Path: jzr%only_bbs.UUCP@mathcs.emory.edu X-Mailer: Fortress v1g-76 Message-ID: <2922056@under.mind.ORG> Date: Tue, 21 Dec 1993 04:56:00 -0500 Reply-To: only_bbs!jzr@UNDER.MIND.ORG Sender: COCO - Tandy Color Computer List <COCO@PUCC.BITNET> From: only_bbs!jzr@UNDER.MIND.ORG Subject: shell plus Lines: 27