🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Ok, so how about * = #?

#6601
From: Matt "C P." Rush
Date: Tue, 13 Nov 1990 23:31
36 lines
2206 bytes
In article <26889.273fce5f@kuhub.cc.ukans.edu> 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:
>
>	Program	Program.c Program.o Program.info Progranny
>
>If I want all the files for Program, I cant do "dir Program#?" because
>I wont match Program.  On the otherhand if I do "dir Progra#?" its a
>kludge because I have to keep from typing the last char, and I might
>get files I don't care about, like Progranny.  (I realize this is a
>dumb example, but it makes my point).

	Are you sure you aren't using ARP, or something?  Standard AmigaDOS
commmands will find all those programs except "Proganny" if you use
"Program#?"

	It's a great way of getting rid of Trashcans on floppies:

		delete df0:Trashcan#? all

	Deletes "Trashcan.info", everything in the "Trashcan" directory, and
then deletes the "Trashcan" directory.  No "kludge" required.

	Make sure you're using REAL AmigaDOS commands...
	-- Matt

    *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    %    "I programmed three days        %      Beam me up, Scotty.      %
    %     And heard no human voices.     %     There's no Artificial     %
    %     But the hard disk sang."       %    Intelligence down here.    %
    %          -- Yoshiko                                                %
    %                            E-mail:  mrush@cscihp.ecst.csuchico.edu %
    *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
     This is a SCHOOL!  Do you think they even CARE about MY opinions?!
Technical Details
Message-ID: <1990Nov13.233135.24998@ecst.csuchico.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucselx!petunia!csuchico.edu!mrush
References: <3422@orbit.cts.com> <26889.273fce5f@kuhub.cc.ukans.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucselx!petunia!csuchico.edu!mrush
From: mrush@ecst.csuchico.edu (Matt "C P." Rush)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Ok, so how about * = #?
Message-ID: <1990Nov13.233135.24998@ecst.csuchico.edu>
Date: 13 Nov 90 23:31:35 GMT
References: <3422@orbit.cts.com> <26889.273fce5f@kuhub.cc.ukans.edu>
Sender: news@ecst.csuchico.edu (USENET)
Organization: California State University, Chico
Lines: 36