home *** CD-ROM | disk | FTP | other *** search
- .he 'JOIN'03/20/80'JOIN'
- NAME
- .sp
- join - replace newlines with an arbitrary string
- .sp 2
- SYNOPSIS
- .sp
- join [ <delimiter> ] [ -l<nlines> ]
- .sp 2
- DESCRIPTION
- .sp
- 'Join' reads its first standard input, replaces all newlines
- with the <delimiter> string, and writes the result on its first
- standard output. The <delimiter> argument may be specified as
- any arbitrary string. If it is omitted, a single blank is assumed.
- If the '-l<nlines>' construct is specified, a maximum of <nlines>
- input lines will be joined into each output line.
- .sp 2
- EXAMPLES
- .sp
- .nf
- files .r | join -l10 | change % "ar -u arch " | sh
- file1> join "|" >file2
- .fi