🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #3418

5note #1: doskey parsing

#3418
From: Wm E Davidsen Jr
Date: Tue, 18 Jun 1991 13:40
19 lines
1261 bytes
I'm going to use the keyword "dos5" on my original posts (not dos50,
since I bet 5.1 comes out this year).

Being a unix user, I find I type unix commands in DOS once in a while. I
defined the following macro in DOSKEY:

  C> doskey lc=dir/l/w/o:n $*

and sometimes I want to disable the /w. If I type "lc foo/-w" it works,
or the "lc /-w foo" form, but "lc/-w foo" is not parsed correctly and
macro expanded. It seems that *only* a blank is parsed as an ending to
the name checked for the macro table.

I don't have a problem with that now that I know, just though it might
save someone a little time.
-- 
bill davidsen	(davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
  GE Corp R&D Center, Information Systems Operation, tech support group
  Moderator comp.binaries.ibm.pc and 386-users digest.
Technical Details
Message-ID: <3432@crdos1.crd.ge.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!crdgw1!crdos1!davidsen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!crdgw1!crdos1!davidsen
From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr)
Newsgroups: comp.os.msdos.misc
Subject: 5note #1: doskey parsing
Keywords: dos5
Message-ID: <3432@crdos1.crd.ge.COM>
Date: 18 Jun 91 13:40:14 GMT
Reply-To: davidsen@crdos1.crd.ge.com (bill davidsen)
Organization: GE Corp R&D Center
Lines: 19