Debian Codegraph @

debian/man/sort-uniq-count.1

raw
1 .TH SORT\-UNIQ\-COUNT 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual"
2 .SH NAME
3 sort\-uniq\-count, sort\-uniq\-count\-rank \- print line frequencies
4 .SH SYNOPSIS
5 \fBsort\-uniq\-count\fP[\|\fB\-rank\fP\|]
6 [\|[\|\fB\-\fP\|]\fBb\fP\|]
7 [\|[\|\fB\-\fP\|]\fBf\fP\|]
8 [\|[\|\fB\-\fP\|]\fBi\fP\|]
9 [\|[\|\fB\-\fP\|]\fBn\fP\|]
10 [\|[\|\fB\-\fP\|]\fBr\fP\|]
11 [\|[\|\fB\-\fP\|]\fBs\fP\|]
12 .SH DESCRIPTION
13 \fBsort\-uniq\-count\fP and
14 \fBsort\-uniq\-count\-rank\fP each
15 read a text file on standard input,
16 sort it according to any specified flags
17 (\fB\-f\fP by default),
18 and report to standard output how often
19 each input line occurs.
20 Each output line consists of a count
21 followed by a tab and an input line.
22
23 \fBsort\-uniq\-count\fP produces its output
24 in the user's choice of sort order.
25 \fBsort\-uniq\-count\-rank\fP sorts its output
26 primarily from highest to lowest count,
27 with the user's sort order as a tiebreaker.
28 .SH OPTIONS
29 .TP
30 [\|\fB\-\fP\|]\fBb\fP
31 Ignore leading blanks.
32 .TP
33 [\|\fB\-\fP\|]\fBf\fP
34 Ignore capitalization.
35 .TP
36 [\|\fB\-\fP\|]\fBi\fP
37 Consider only printable characters.
38 .TP
39 [\|\fB\-\fP\|]\fBn\fP
40 Compare according to numerical value.
41 .TP
42 [\|\fB\-\fP\|]\fBr\fP
43 Reverse the result of comparisons.
44 .TP
45 [\|\fB\-\fP\|]\fBs\fP
46 Stabilize sort.
47 .SH SEE ALSO
48 .BR sort (1),
49 .BR xtract (1).