Bell 32V development
[unix-history] / usr / lib / learn / editor / L14.2a
CommitLineData
fed84c9b
TL
1#print
2You can also use the "=" command to find out what
3the 'current' line is. Since the current line
4is named '.', the appropriate command is
5 .=
6and so if you say
7 3p
8 .=
9the second command will print '3'. Since you should not
10believe what I tell you without checking it, edit file
11"doubt" and type the two commands above, which first
12print line 3 (and incidentally set "." to that line) and
13then ask what number "." is. Then type w, q, ready.
14#create doubt
15you didn't have to print this line
16you didn't have to print this line
17to err is human, to really foul things up takes a computer
18you didn't have to print this line
19you didn't have to print this line
20#copyout
21#user
22#uncopyout
23grep 3 .ocopy >dev/null
24#log
25#next
2614.2b 5