File:  [CSRG BSD Unix] / 43BSD / usr.lib / learn / morefiles / L5.1a
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
If you think back over some of the exercises you've done
so far in this course, they have involved collecting the
output of one program (like "cat" or "grep" or "ls") in
a file, then using that file as the input to another
program, like "pr" or "wc" or "grep".
For example, you could use "ls" and "wc" to _____count
the number of files in a directory.  Do that now,
then type "answer N", where N is the number of files.
#create X2
#create X1
#create this
#create stuff
#create foo
#copyin
#user
#uncopyin
ls | %s/../bin/lcount >X1
tail -1 .copy >X2
#cmp X1 X2
#log
#next
5.1b 10

unix.superglobalmegacorp.com

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