summaryrefslogtreecommitdiff
path: root/static/unix-v10/man1/merge.1
blob: 39c8f7fb2b5b4f4574de9ebbc55088f7b2aecf7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.th MERGE I 11/7/73
.sh NAME
merge \*- merge several files
.sh SYNOPSIS
.bd merge
[
.bd \*-anr
] [ \fB\*-\fIn\fR ] [ \fB+\fIn\fR ] [ name ... ]
.sh DESCRIPTION
.it Merge
merges several files together
and writes the result on
the standard output.
If a file
is designated by
an unadorned `\*-',
the standard input is understood.
.s3
The merge is line-by-line in increasing ASCII collating sequence,
except that upper-case letters are considered
the same as the corresponding lower-case letters.
.s3
.it Merge
understands several flag arguments.
.s3
.lp +4 4
\fB\*-a\fR	Use strict ASCII collating sequence.
.s3
.lp +4 4
\fB\*-n\fR	An initial numeric string, possibly preceded by '\*-',
is sorted by numerical value.
.s3
.lp +4 4
\fB\*-r\fR	Data is in reverse order.
.s3
.lp +4 4
\fB\*-\fIn\fR	The first \fIn\fR fields in each line
are ignored.  A field is defined as a string of non-space, non-tab
characters separated by tabs and spaces from its neighbors.
.s3
.lp +4 4
\fB+\fIn\fR	The first \fIn\fR characters are ignored.
Fields (with \fB\*-\fIn\fR)
are skipped before characters.
.i0
.sh "SEE ALSO"
sort(I)
.sh BUGS
Only 8 files can be handled;
any further files are ignored.