[net.micro.amiga] AmigaDos Filename Wildcarding

RMULLER%UMASS.BITNET@WISCVM.ARPA (10/27/85)

From: RMULLER%UMASS.BITNET@WISCVM.ARPA

As my contribution to figuring out those enigmatic commands in
SYS:C, here's the way the LIST command handles "wildcards" in
filenames.

If you want to see all the files with names ending in .c you
type LIST PAT #?.c
or   LIST P   #?.c

All the files with names beginning with A:	LIST P A#?

All the files with four-letter names:		LIST P ????

<?> is the wild-card character, and <#?> means any number of <?>s
Comparisons ignore upper/lower case distinctions.

This should work on any command which lists ...P=PAT/K...
when you type the command name followed by a <?>: e.g. LIST ?

This and some other options which seem less useful than this are
described quickly in

	"TRIPOS -- A Portable Operating System for Mini-computers"
	 Martin Richards, Aylward, Bond, Evans and Knight
	 _Software Practice and Experience_ Vol 9 pp 513-526 (1979)

(TRIPOS is the OS on which AmigaDos is based)

There is a longer treatment of this topic in

	"A Compact Function for Regular Expression Pattern Matching"
	 Martin Richards
	 _Software Practice and Experience_ Vol 9 pp 527-534 (1979)

Isn't it a pain to have to go get microfilmed articles to figure out
how to use a computer you just bought?

To the Commodore-Amiga people:  when WILL this stuff be available?
Surely the Users Manual for the OS doesn't need to be restricted to
developers?

	Richard Muller
	Computer Studies Program
	Hampshire College
	Amherst MA 01002


	(413) 549-4600 ext 585
	CSNET:  muller@umass-ece
	BitNet: rmuller@umass