File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / usr.lib / learn / files / L7.2b
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

#print
You can put any number of characters between [..]
characters, as in
  [abcdef]
which matches any of the six letters from a to f;
and you can put something like that anywhere in a pattern
for a file name.  For example,
  ls [abcd]x
matches any of
 ax, bx, cx, dx
You can also combine this with other operators such as
* or ?.  For example,
  ls [ab]?
matches all two-letter names beginning with a or b.
How would you ask for all names, of any length, ending
in 1 2 or 3?
You can experiment in this directory; eventually,
type the "ls" command you decide on followed by "ready".
#create a1
#create a12
#create a1a
#create a2
#create a23
#create aa1
#create abc1
#copyin
#user
#uncopyin
#match ls *[123]
#log
#next
8.1a 10

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.