BSD 4_1_snap development
[unix-history] / usr / lib / learn / editor / L30.1b
CommitLineData
3eb5d546
C
1#print
2As with other commands, you can specify a line
3number in front of the 's' command. Thus
4 3s/x/a/
5will change the first 'x' to an 'a' on the third line
6of the current file. Pick up file 'town' and
7change the 'q' on the last line to a 'p'. Then
8rewrite the file and type 'ready'.
9#create Ref
10south orange
11maplewood
12millburn
13short hills
14summit
15new providence
16#create town
17south orange
18maplewood
19millburn
20short hills
21summit
22new qrovidence
23#user
24#cmp town Ref
25#log
26#next
2731.1a 10