summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/files/L9.2b
diff options
context:
space:
mode:
authorIan Darwin <ian@cvs.openbsd.org>1998-09-28 16:01:59 +0000
committerIan Darwin <ian@cvs.openbsd.org>1998-09-28 16:01:59 +0000
commit1083c89a4423b36811471177bbe3abe0b50f3235 (patch)
tree46432d298508cad92b9cdf3320616c3824573d38 /usr.bin/learn/lib/files/L9.2b
parent5c33bfa47b213f93498fe8c5dc17f90f4d116c06 (diff)
import BTL learn(1) lessons/files
Diffstat (limited to 'usr.bin/learn/lib/files/L9.2b')
-rw-r--r--usr.bin/learn/lib/files/L9.2b22
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/files/L9.2b b/usr.bin/learn/lib/files/L9.2b
new file mode 100644
index 00000000000..64b9b0970d5
--- /dev/null
+++ b/usr.bin/learn/lib/files/L9.2b
@@ -0,0 +1,22 @@
+#print
+You can also use the "*" operator. For example,
+print the contents of all the files in this
+directory whose names begin with the letter 'p'.
+Use just one "cat" command.
+Then type "ready".
+#create p1
+There are only two such files. This is the first
+one and it is two lines long.
+#create ppx
+
+This is the second file. Its first line
+is blank, and then there are three lines of
+text of which this is the last.
+#copyin
+#user
+#uncopyin
+grep 'cat p\*' .copy >/dev/null
+#log
+#next
+10.1a 10
+9.2c 5