diff options
Diffstat (limited to 'usr.bin/learn/lib/files/L9.2a')
-rw-r--r-- | usr.bin/learn/lib/files/L9.2a | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/files/L9.2a b/usr.bin/learn/lib/files/L9.2a new file mode 100644 index 00000000000..eac03df5102 --- /dev/null +++ b/usr.bin/learn/lib/files/L9.2a @@ -0,0 +1,30 @@ +#print +You can use patterns for file names with commands +other than "ls". For example, you can use them with +the "cat" command to print files. +This directory has three files named + parta + partb + partc +You can use + cat part? +to print all of them. Try that; then +type "ready". +#create parta +This is file parta; +it has two lines. +#create partb +File partb here - has only one line. +#create partc +And now in file partc, which has +the enormous total of +three lines. +#create partxxx +You shouldn't have printed this one. +#copyin +#user +#uncopyin +grep 'cat part?' .copy >/dev/null +#log +#next +9.2b 5 |