File:  [CSRG BSD Unix] / 43BSDReno / usr.bin / learn / learnlib / morefiles / L4.1a
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

#print
You have already had some practice in using ">" to capture
the output of a program.  In much the same way, it
is possible to arrange for a program to take its input not
from the terminal but from a file.
Most UNIX programs are written so that they will read either
the terminal or from a list of filenames.
To have a program read from a file instead of the terminal,
use the "<", like this:
  pr <file
As a simple experiment, determine if
  pr <file
is absolutely identical to
  pr file
Answer yes or no.
#create junk
you can use this file to play with.
#copyin
#user
#uncopyin
#match no
#log
#next
4.1b 10
4.2a 5

unix.superglobalmegacorp.com

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