uniq.1 (fa745288a715d9e79d74e3ca789f82a71489d239) uniq.1 (06e482e60a60643b7d60549870f45c6ba6c4c7a8)
1.\" Copyright (c) 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 48 unchanged lines hidden (view full) ---

57utility reads the specified
58.Ar input_file
59comparing adjacent lines, and writes a copy of each unique input line to
60the
61.Ar output_file .
62If
63.Ar input_file
64is a single dash
1.\" Copyright (c) 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 48 unchanged lines hidden (view full) ---

57utility reads the specified
58.Ar input_file
59comparing adjacent lines, and writes a copy of each unique input line to
60the
61.Ar output_file .
62If
63.Ar input_file
64is a single dash
65.Pq Sq \&-
65.Pq Sq Fl
66or absent, the standard input is read.
67If
68.Ar output_file
69is absent, standard output is used for output.
70The second and succeeding copies of identical adjacent input lines are
71not written.
72Repeated lines in the input will not be detected if they are not adjacent,
73so it may be necessary to sort the files first.

--- 71 unchanged lines hidden ---
66or absent, the standard input is read.
67If
68.Ar output_file
69is absent, standard output is used for output.
70The second and succeeding copies of identical adjacent input lines are
71not written.
72Repeated lines in the input will not be detected if they are not adjacent,
73so it may be necessary to sort the files first.

--- 71 unchanged lines hidden ---