summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/morefiles/L6.1c
blob: 55949867d437554865ca7a2e1a91a8fbc19b4c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#print
In much the same way that you used "cat" and a pipe to
get rid of the file names from the output of "grep",
you can use "cat" and a pipe to get rid of the sub-totals
from "wc", if you so desire.
What is the total number of lines in the files in
this directory whose names begin with capital letters?
Type "answer N", where N is the number of lines.
#create X1
just to make sure.
#create Stuff
this has some more.
#create Junk
asdfadfasdfasdfasdfasf
#copyin
#user
#uncopyin
cat [A-Z]* | %s/../lcount >x1
tail -1 .copy >x2
#cmp x1 x2
#log
#next
6.1d