Bell 32V development
[unix-history] / usr / lib / learn / editor / L33.2a
CommitLineData
fed84c9b
TL
1#print
2When you want to match one of a few specific characters,
3and not anything, the pattern is similar to that used in
4file names. That is,
5 [abc]
6matches the letters 'a', 'b', or 'c', but nothing
7else. Try this sequence and note what happens:
8
9ed lines
101,$p
111s/[123]/9/
122s/[123]/9/
131,$p
14w
15q
16ready
17#create Ref
18599
19948
20#create lines
21519
22348
23#user
24#cmp lines Ref
25#log
26#next
2733.2b 5