Previous | Next
| From: Joe Forster/STA
Date: 2000-10-20
Subject: Re: Wildcards
|
Hi Zsolt!
> what wildcards can use the OS of the CBM floppy drives?
I would say that there are three "special characters" for Commodore floppy drives:
* Matches all characters to the end of the filename. Note that this works
pretty much like DOS. It's not that "regular expression"-style asterisk
that is under Unix.
E.g. "a*" matches all files that start with letter "a". "a*a" is exactly
the same, it matches not only "aa" and "axa" but also "axb" etc.
? Matches exactly one character in the filename. Note that it does not
match "characters" after the end of the filename (actually, padding
Shift-spaces).
E.g "a?" matches all files whose name starts with letter "a" and
consists of exactly two characters, not more, not less.
= You can specify the file type at the end of the filename.
E.g. "a*" matches all files that start with letter "a", "a*=s" matches
only those files that start with letter "a" _and_ are sequential files.
Valid file types are "s" for SEQ, "p" for PRG, "u" for USR, "r" for
REL.
And don't forget that Commodore filenames are case-sensitive. Good luck,
Joe
|
| |
Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon |