Lines Matching +full:line +full:- +full:based

52 comparing adjacent lines, and writes a copy of each unique input line to
69 .Bl -tag -width Ds
70 .It Fl c , Fl -count
71 Precede each output line with the count of the number of times the line
73 .It Fl d , Fl -repeated
74 Output a single copy of each line that is repeated in the input.
78 .It Fl D , Fl -all-repeated Op Ar septype
81 but each copy of the repeated line is written).
87 .Bl -tag -compact -width separate
91 Output an empty line before each group of lines.
93 Output an empty line after each group of lines.
95 .It Fl f Ar num , Fl -skip-fields Ar num
98 fields in each input line when doing comparisons.
99 A field is a string of non-blank characters separated from adjacent fields
101 Field numbers are one based, i.e., the first field is field one.
102 .It Fl i , Fl -ignore-case
104 .It Fl s Ar chars , Fl -skip-chars Ar chars
107 characters in each input line when doing comparisons.
109 .Fl f , Fl -unique
115 Character numbers are one based, i.e., the first character is character one.
116 .It Fl u , Fl -unique
122 .\"fields on each input line when doing comparisons,
124 .\"A field is a string of non-blank
149 .Ex -std
152 .Bd -literal -offset indent
160 .Bd -literal -offset indent
161 $ uniq -u cities.txt
168 .Bd -literal -offset indent
169 $ sort cities.txt | uniq -c
175 .Bd -literal -offset indent
182 .Bd -literal -offset indent
183 $ uniq -d -i cities.txt
188 .Bd -literal -offset indent
189 $ uniq -D -i cities.txt
194 Report the number of identical lines ignoring the first character of every line:
195 .Bd -literal -offset indent
196 $ uniq -s 1 -c cities.txt
212 .St -p1003.1-2001
213 as amended by Cor.\& 1-2002.