JOIN - concatenate and possibly convert a list of files.

Syntax:

join [<file containing a list of files>] [output file]

Examples:

join                   - input/output to/from terminal
join >outfile          - input from terminal
join inlist outfile    - inlist is list of file names

Description:

JOIN takes file names, either from a file or from the terminal, and copies the files to the output file (or to the terminal if no output file is specified). If the files are being read from the terminal, a null line will end the list.

Redirection of I/O works. If arguments are supplied, the first is taken to be a file containing a list of files to be copied. The second argument is taken as the output file. The presence of arguments overrides redirection of I/O. If there is no input file, the terminal is opened for input of file names. If there is no output file, the output of each file will appear on the terminal.

When taking input from the terminal, any line starting with "!" is passed to the system, as in FRED, MAIL, etc.

Copyright © 1996, Thinkage Ltd.