diff options
author | Ian Darwin <ian@cvs.openbsd.org> | 1998-09-28 16:01:46 +0000 |
---|---|---|
committer | Ian Darwin <ian@cvs.openbsd.org> | 1998-09-28 16:01:46 +0000 |
commit | 8d70bdbdf6fd88bf88b9a384cfaafb6668c804ec (patch) | |
tree | 034fd6a68d5b6928d6fe4e51de71c9868bb460b1 /usr.bin/learn/lib/editor/L8.1b | |
parent | e9be7faad5fbf61edcad3700142615e315e407bc (diff) |
import BTL learn(1) lessons/editor
Diffstat (limited to 'usr.bin/learn/lib/editor/L8.1b')
-rw-r--r-- | usr.bin/learn/lib/editor/L8.1b | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/editor/L8.1b b/usr.bin/learn/lib/editor/L8.1b new file mode 100644 index 00000000000..852bc4f95b9 --- /dev/null +++ b/usr.bin/learn/lib/editor/L8.1b @@ -0,0 +1,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 |