⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uniq.1

📁 unix v7是最后一个广泛发布的研究型UNIX版本
💻 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 + -