📄 uniq.1
字号:
.th UNIQ I 12/1/72.sh NAMEuniq \*- report repeated lines in a file.sh SYNOPSIS.bd uniq[.bd \*-udc[ \fB+\fRn ] [ \fB\*-\fRn ]] [ input [ output ] ].sh DESCRIPTION.it Uniqreads the inputfile comparing adjacent lines.In the normal case, the second and succeeding copiesof repeated lines areremoved; the remainder is written on the output file.Note that repeated lines must be adjacentin order to be found;see sort(I).If the.bd \*-uflag is used,just the lines that are not repeatedin the original file are output.The.bd \*-doption specifies thatone copy of just the repeated lines is tobe written.The normal mode output is the union of the.bd \*-uand.bd \*-dmode outputs..s3The.bd \*-coption supersedes.bd \*-uand.bd \*-dand generatesan output report in default stylebut with each line preceded by a count of thenumber of times it occurred..s3The.it narguments specify skipping an initial portion of each linein the comparison:.s3.lp +8 4\fB\*-\fIn\fR The first \fIn\fR fieldstogether with any blanks before each are ignored.A field is defined as a string of non-space, non-tab charactersseparated by tabs and spaces from its neighbors..s3.lp +8 4\fB+\fIn\fR The first \fIn\fR characters are ignored.Fields are skipped before characters..i0.s3.sh "SEE ALSO"sort (I), comm (I).sh BUGS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -