|
|
1.1 root 1: #print
2: In much the same way that you used "cat" and a pipe to
3: get rid of the file names from the output of "grep",
4: you can use "cat" and a pipe to get rid of the sub-totals
5: from "wc", if you so desire.
6: What is the total number of lines in the files in
7: this directory whose names begin with capital letters?
8: Type "answer N", where N is the number of lines.
9: #create X1
10: just to make sure.
11: #create Stuff
12: this has some more.
13: #create Junk
14: asdfadfasdfasdfasdfasf
15: #copyin
16: #user
17: #uncopyin
18: cat [A-Z]* | %s/../bin/lcount >x1
19: tail -1 .copy >x2
20: #cmp x1 x2
21: #log
22: #next
23: 6.1d
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.