blob: cbf4e9d320a3d359181138be4cb146a46af86cc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#print
You can use '*' to look for a string of characters
from one of the character classes. Suppose, for example,
we wanted a long string of either 'a' or 'b', followed
by 'x'. Then we could write
s/[ab]*x/.../
In this directory is a file named "table".
It has only one line. On that line, replace all the digits
followed by a comma with the letters "too big". For example,
"123,000" should become "too big,000".
Then rewrite the file and type "readY".
#create Ref
Heathrow too big,159
#create table
Heathrow 17073,159
#user
#cmp table Ref
#log
#next
35.2d 5
|