?? uniq.1
字號:
.TH UNIQ 1 .SH NAMEuniq \- report repeated lines in a file.SH SYNOPSIS.B uniq[.B \-udc[.BR + n] [.BR \- n]] [ input [ output ] ].SH DESCRIPTION.I 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.IR sort (1).If the.B \-uflag is used,just the lines that are not repeatedin the original file are output.The.B \-doption specifies thatone copy of just the repeated lines is tobe written.The normal mode output is the union of the.B \-uand.B \-dmode outputs..PPThe.B \-coption supersedes.B \-uand.B \-dand generatesan output report in default stylebut with each line preceded by a count of thenumber of times it occurred..PPThe.I narguments specify skipping an initial portion of each linein the comparison:.TP 8.BI \- nThe first.IR n 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..TP 8.BI + nThe first.IR n characters are ignored.Fields are skipped before characters..PP.SH "SEE ALSO"sort(1), comm(1)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -