Bell 32V development
[unix-history] / usr / lib / learn / editor / L35.2c
CommitLineData
fed84c9b
TL
1#print
2You can use '*' to look for a string of characters
3from one of the character classes. Suppose, for example,
4we wanted a long string of either 'a' or 'b', followed
5by 'x'. Then we could write
6
7 s/[ab]*x/.../
8
9In this directory is a file named "table".
10It has only one line. On that line, replace all the digits
11followed by a comma with the letters "too big". For example,
12"123,000" should become "too big,000".
13Then rewrite the file and type "readY".
14#create Ref
15Heathrow too big,159
16#create table
17Heathrow 17073,159
18#user
19#cmp table Ref
20#log
21#next
2235.2d 5