File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / usr.lib / learn / morefiles / L5.1a
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (6 years, 11 months ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

#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.