🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #6663

Re: Ok, so how about * = #?

#6663
From: Gregory Kritsch
Date: Sun, 15 Nov 2020 05:49
30 lines
1720 bytes
markv@kuhub.cc.ukans.edu writes:
>The problem with *=#? is one I am dealing with in a program and is one
>of my gripes with #? in general.  #? isn't quite like * because #?
>requires at least one charecter.  So if I have a dir like:

From the AmigaDOS manual (first Bantam edition), p.  71, describing
patterns:

#<p>      Matches zero or more occurrences of the pattern <p>.

Also, the following example is listed:

LIST PAT A#BC    matches AC ABC ABBC, and so forth.

>If I want all the files for Program, I cant do "dir Program#?" because

Try it - I think you'll like it!
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Mark Gooderum			Only...		\    Good Cheer !!!
>Academic Computing Services	       ///	  \___________________________
>University of Kansas		     ///  /|         __    _
>Bix:	  markgood	      \\\  ///  /__| |\/| | | _   /_\  makes it
>Bitnet:   MARKV@UKANVAX		\/\/  /    | |  | | |__| /   \ possible...
>Internet: markv@kuhub.cc.ukans.edu
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
  Gregory Kritsch                          | University of Waterloo
    Fido:  1:221/208.11110  [1:163/109.30] | 1A Computer Engineering
    UUCP:  ggk@tirith.UUCP                 |--------------------------
           ...!watmath!xenitec!tirith!ggk  | Amiga Fanatic
Technical Details
Message-ID: <ggk.658648194@tirith.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!maytag!xenitec!tirith!ggk
References: <26889.273fce5f@kuhub.cc.ukans.edu> <3422@orbit.cts.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!maytag!xenitec!tirith!ggk
From: ggk@tirith.UUCP (Gregory Kritsch)
Message-ID: <ggk.658648194@tirith.UUCP>
Date: 15 Nov 20 05:49:54 
Newsgroups: comp.sys.amiga.tech
Subject: Re: Ok, so how about * = #?
In-Reply-To: markv@kuhub.cc.ukans.edu
References: <26889.273fce5f@kuhub.cc.ukans.edu> <3422@orbit.cts.com>