🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.amiga
Article #5181

More stupid CLI tricks

#5181
From: mitsuharu hadeishi
Date: Thu, 30 Oct 1986 05:51
19 lines
1536 bytes
	About the pattern matching DELETE, etc. . .

	The syntax I mentioned in a previous posting (i.e.
"copy (firstfile|nextfile|anotherfile) destinationdirectory")
of course is not an optimal syntax; it would be better if the
syntax were fixed so such tricks were not necessary.  It is
not optimal because the whole directory has to be searched in order
to find the three files that match the pattern; the command doesn't
know that the pattern just specifies three files; it checks to see
if each file in the directory matches the pattern.  However, it is
still probably faster than typing COPY over and over, particularly for
medium-sized directories, and it is certainly a speed advantage for
people with big RAMdisks or people running script files off of the
disk (i.e., copying a subset of the c: directory to ram: would be
much faster with this method, as long as the pattern matcher doesn't
choke with too many (||||||||) alternatives.)

			-Mitsu
Technical Details
Message-ID: <554@husc6.HARVARD.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!husc6!husc4!hadeishi

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!husc6!husc4!hadeishi
From: hadeishi@husc4.harvard.edu (mitsuharu hadeishi)
Newsgroups: net.micro.amiga
Subject: More stupid CLI tricks
Message-ID: <554@husc6.HARVARD.EDU>
Date: Thu, 30-Oct-86 00:51:55 EST
Article-I.D.: husc6.554
Posted: Thu Oct 30 00:51:55 1986
Date-Received: Thu, 30-Oct-86 22:19:24 EST
Sender: news@husc6.HARVARD.EDU
Reply-To: hadeishi@husc4.UUCP (mitsuharu hadeishi)
Distribution: net
Organization: Harvard Science Center
Lines: 19