Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!inesc!unl!unl!jpc From: jpc@fct.unl.pt (Jose Pina Coelho) Newsgroups: comp.sys.amiga.introduction Subject: Re: Wildcards in the CLI Message-ID: Date: 6 May 91 18:16:46 GMT References: <1991Apr16.155231.18782@ux1.cso.uiuc.edu> <7384@munnari.oz.au> <6512@bwdls58.bnr.ca> <20893@cbmvax.commodore.com> <1991Apr25.100919.21595@fwi.uva.nl> <21179@cbmvax.commodore.com> Sender: news@fct.unl.pt (USENET News System) Organization: Universidade Nova de Lisboa -- Lisbon, Portugal Lines: 41 In-Reply-To: daveh@cbmvax.commodore.com's message of 2 May 91 23:09:50 GMT In article <21179@cbmvax.commodore.com> daveh@cbmvax.commodore.com (Dave Haynie) writes: > > Wildcard support prior to 2.0 was rather annoying, I think that was a generally > recognized failing of the older systems. Wildcards, and command arguments > were inconsistent between commands. And each command had to contain it's own > wildcard code, which wasn't even available in a link library for use by > programmers outside of Commodore. However, in 2.0, things are much, much, much > better in terms of both wildcard support and consistency in the DOS commands. > And pattern matching is now a dos.library function call, which means that all > programmers have access to this, anywhere they want it. - Oh God!!! Let it be UNIX-like wild cards (or full regexps). - .;,;,;.;,;,';'l[pl - ``No'' ?!? What the hell do you mean with ``no'' ? - ":||"">|" - You mean ``#numeric'' to match a digit, and ``#AlPhAbEtIc'' to match mixed-case letters ? You're SICK !!! [ Lot's of smilleys for the humor impaired ] We should at least have an inteligent (not stupid, at least) command line parsing. Copy files [to] [file/dir] ^^^^ why the f*** ? By the way, what is the behavior of copy when I say "copy #? to" ? Does it try directory ``to'' like it should ? Confusedly yours, -- Jose Pedro T. Pina Coelho | BITNET/Internet: jpc@fct.unl.pt Rua Jau N 1, 2 Dto | UUCP: ...!mcsun!unl!jpc 1300 Lisboa, PORTUGAL | Home phone: (+351) (1) 640767 - If all men were brothers, would you let one marry your sister ?