名称
- Provided by: manpages-zh (Version: 1.6.3.3-2)
- Report a bug
uniq [选项]... [输入 [输出]]
从输入文件(或标准输入)筛选一组相邻的匹配行,写入到输出文件(或标准输出)。
如没有指定选项,则只保留一组匹配行中的第一行。
必选参数对长短选项同时适用。
域指一个由空字符(通常是空格和/或制表符)和紧随的非空字符组成的序列。同时使用跳过域和跳过字符选项时,先跳过域再跳过字符。
注意:“uniq”只检测那些相邻的重复行。你或许需要先对输入排序,或者使用“sort -u”而非“uniq”。另外,比较的细则会依据“LC_COLLATE”所指定的规则。
由 Richard M. Stallman 和 David MacKenzie 编写。
GNU coreutils 的在线帮助:
<http://www.gnu.org/software/coreutils/>
请向 <http://translationproject.org/team/zh_CN.html>
报告 uniq 的翻译错误。
Copyright © 2017 Free Software Foundation, Inc. License
GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.
完整文档请见:
<http://www.gnu.org/software/coreutils/uniq>
或者在本地使用: info
'(coreutils) uniq invocation'
本页面中文版由中文
man 手册页计划提供。
中文 man
手册页计划:https://github.com/man-pages-zh/manpages-zh