summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/editor/L50.2c
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/L50.2c
parente9be7faad5fbf61edcad3700142615e315e407bc (diff)
import BTL learn(1) lessons/editor
Diffstat (limited to 'usr.bin/learn/lib/editor/L50.2c')
-rw-r--r--usr.bin/learn/lib/editor/L50.2c23
1 files changed, 23 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/editor/L50.2c b/usr.bin/learn/lib/editor/L50.2c
new file mode 100644
index 00000000000..72853d2a1c8
--- /dev/null
+++ b/usr.bin/learn/lib/editor/L50.2c
@@ -0,0 +1,23 @@
+#print
+Edit file "junk" and print the first line
+that contains either "color" or "Color".
+Then leave the editor and type "ready".
+#create junk
+this file contains
+a few random lines
+much noise
+bright Colors
+other stuff
+colored paper
+and color by Technicolor
+#create x2
+bright Colors
+#copyout
+#user
+#uncopyout
+grep olor .ocopy >x1
+#cmp x1 x2
+#log
+#next
+50.2d 5
+50.1c 10