BSD 3 development
[unix-history] / usr / lib / learn / editor / L38.2b
CommitLineData
fd15fd37
BJ
1#print
2In this directory there is a file "text"; whenever the
3letters "cat" begin a line, change them to "mouse"; but
4leave other instances of "cat" unaltered. Do this on each line.
5Then rewrite the file and type "ready".
6#create Ref
7mouse's paw
8alley cat
9mouse has nine lives
10let the cat out of the bag
11#create text
12cat's paw
13alley cat
14cat has nine lives
15let the cat out of the bag
16#user
17#cmp text Ref
18#log
19#next
2039.1a 10