summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/editor/L37.2d
diff options
context:
space:
mode:
authorIan Darwin <ian@cvs.openbsd.org>1998-09-28 16:01:46 +0000
committerIan Darwin <ian@cvs.openbsd.org>1998-09-28 16:01:46 +0000
commit8d70bdbdf6fd88bf88b9a384cfaafb6668c804ec (patch)
tree034fd6a68d5b6928d6fe4e51de71c9868bb460b1 /usr.bin/learn/lib/editor/L37.2d
parente9be7faad5fbf61edcad3700142615e315e407bc (diff)
import BTL learn(1) lessons/editor
Diffstat (limited to 'usr.bin/learn/lib/editor/L37.2d')
-rw-r--r--usr.bin/learn/lib/editor/L37.2d22
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/editor/L37.2d b/usr.bin/learn/lib/editor/L37.2d
new file mode 100644
index 00000000000..4d882188a9b
--- /dev/null
+++ b/usr.bin/learn/lib/editor/L37.2d
@@ -0,0 +1,22 @@
+#print
+There is another file named "table" in this directory.
+Find all numbers and surround them with "*" characters (that
+is, "345" becomes "*345*". Then rewrite the file
+and type "ready".
+#create Ref
+ Income
+Wages *73*
+Interest *20*
+Gambling *5*
+Other *2*
+#create table
+ Income
+Wages 73
+Interest 20
+Gambling 5
+Other 2
+#user
+#cmp table Ref
+#log
+#next
+37.2e 5