🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.decus
Article #331

Quotes on DCL command line

#331
From: Tom Cunningham
Date: Fri, 05 Sep 1986 22:09
18 lines
1387 bytes
Any of you VMS folks know a clever way to cleanly quote a single quote
on the DCL command line?  I have an application written in VAX C that
does its own command line parsing via argc/argv.  One type of argument
needs to be triple quoted thusly: '''argval'''.  In other words, all
six single quotes, along with argval, need to get passed in to the
application.  I realize the single quote is some kind of whizbang
metacharacter in DCL, but I have really had to jump through hoops to
make this work.  Any suggestions?

Also, does anyone know of a tar, PD or otherwise, that works with VMS?
Many thanks to those of you who responded to my query about software
distribution!

Tom Cunningham     "Good, fast, cheap -- select two."
USPS:  Motorola Inc.  6501 William Cannon Dr. W.  Austin, TX 78735-8598
UUCP:  {ihnp4,seismo,ctvax,gatech}!ut-sally!oakhill!tomc
       sun!oakhill!tomc
Phone: 512-440-2953
Technical Details
Message-ID: <759@oakhill.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!seismo!ut-sally!im4u!oakhill!tomc

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!seismo!ut-sally!im4u!oakhill!tomc
From: tomc@oakhill.UUCP (Tom Cunningham)
Newsgroups: net.decus
Subject: Quotes on DCL command line
Message-ID: <759@oakhill.UUCP>
Date: Fri, 5-Sep-86 18:09:01 EDT
Article-I.D.: oakhill.759
Posted: Fri Sep  5 18:09:01 1986
Date-Received: Sun, 7-Sep-86 00:44:05 EDT
Organization: Motorola Inc. Austin, Tx
Lines: 18
Keywords: VAX VMS DCL