Unix and Linux Discussions Tagged with file |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
8 |
81,621 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
24,927 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
73,601 |
Shell Programming and Scripting |
|
|
|
3 |
74,790 |
Shell Programming and Scripting |
|
|
|
6 |
14,139 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
14,825 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
78,729 |
Shell Programming and Scripting |
|
|
|
5 |
13,852 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
99,462 |
Shell Programming and Scripting |
|
|
|
2 |
6,629 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
8,938 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
20,238 |
Answers to Frequently Asked Questions |
|
|
|
1 |
7,603 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
64,939 |
Shell Programming and Scripting |
|
|
|
2 |
17,468 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
14,489 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
9,386 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
8,468 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
6,400 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
76,895 |
Shell Programming and Scripting |
|
|
|
1 |
4,741 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
12,950 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
66,318 |
Shell Programming and Scripting |
|
|
|
15 |
16,938 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
8,021 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
7,012 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
12,127 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,986 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
7,727 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
10,654 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
10,937 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
23,637 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
7,056 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
12,335 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
16,242 |
Shell Programming and Scripting |
|
|
|
2 |
9,206 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
7,249 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
11,690 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
9,705 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
12,146 |
UNIX for Beginners Questions & Answers |
UNIQ(1) FSF UNIQ(1)
NAME
uniq - remove duplicate lines from a sorted file
SYNOPSIS
uniq [OPTION]... [INPUT [OUTPUT]]
DESCRIPTION
Discard all but one of successive identical lines from INPUT (or standard input), writing to OUTPUT (or standard output).
Mandatory arguments to long options are mandatory for short options too.
-c, --count
prefix lines by the number of occurrences
-d, --repeated
only print duplicate lines
-D, --all-repeated[=delimit-method] print all duplicate lines
delimit-method={none(default),prepend,separate} Delimiting is done with blank lines.
-f, --skip-fields=N
avoid comparing the first N fields
-i, --ignore-case
ignore differences in case when comparing
-s, --skip-chars=N
avoid comparing the first N characters
-u, --unique
only print unique lines
-w, --check-chars=N
compare no more than N characters in lines
--help display this help and exit
--version
output version information and exit
A field is a run of whitespace, then non-whitespace characters. Fields are skipped before chars.
AUTHOR
Written by Richard Stallman and David MacKenzie.
REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>.
COPYRIGHT
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
The full documentation for uniq is maintained as a Texinfo manual. If the info and uniq programs are properly installed at your site, the
command
info uniq
should give you access to the complete manual.
uniq (coreutils) 4.5.3 February 2003 UNIQ(1)