BSD 4_1_snap development
[unix-history] / usr / lib / learn / files / L3.1a
CommitLineData
3eb5d546
C
1#print
2The "cat" command prints the contents of one or more files.
3In fact, it is named "cat" as an abbreviation
4for "concatenate". To print the files named "dog"
5and "mouse" in succession, you could type either
6 cat dog
7 cat mouse
8or just
9 cat dog mouse
10If you print them with one command,
11the contents are printed in sequence with nothing
12between them.
13
14How many lines are there in all the files
15whose names begin with "b"? Find out, then type
16"answer N" where N is the total number of lines.
17#create ben
18the file ben has
19a total of three
20short lines.
21#create bernie
22this file has
23two lines.
24#create bruce
25only one line here.
26#copyin
27#user
28#uncopyin
29#match 6
30#log
31#next
324.1a 10
334.2a 5
344.3a 2