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