File:  [CSRG BSD Unix] / 43BSD / usr.lib / learn / morefiles / L6.1c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

#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/../bin/lcount >x1
tail -1 .copy >x2
#cmp x1 x2
#log
#next
6.1d

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.