blob: 852bc4f95b910ed24d39f8cb6b50ec74278d7444 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#print
You can also use "-" in addresses. For example,
the line before the current line is line ".-1"
and can be printed with ".-1p" or even just ".-1".
How would you print the line two lines before the current
line? Type "answer COMMAND" where COMMAND is
the command you would type to print that line.
#copyin
#user
#uncopyin
#match .-2p
#match .-2
#match -2
#match --
#log
#next
9.1a 10
9.2a 5
|