From 8d70bdbdf6fd88bf88b9a384cfaafb6668c804ec Mon Sep 17 00:00:00 2001 From: Ian Darwin Date: Mon, 28 Sep 1998 16:01:46 +0000 Subject: import BTL learn(1) lessons/editor --- usr.bin/learn/lib/editor/L8.1b | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 usr.bin/learn/lib/editor/L8.1b (limited to 'usr.bin/learn/lib/editor/L8.1b') 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 -- cgit v1.2.3