COMM(1) | 使用者命令 | COMM(1) |
comm - 按行比較兩個已排序的檔案
comm [選項]... 檔案1 檔案2
逐行比較已排序的檔案檔案1 和檔案2。
當檔案1 或者檔案2 中有且只有一個是“-”時,從標準輸入讀取。
如果不附帶選項,程式會生成三列輸出。第一列包含檔案1 特有的行,第二列包含 檔案2 特有的行,而第三列包含兩個檔案共有的行。
注意,比較操作遵從“LC_COLLATE”所指定的規則
由 Richard M. Stallman 和 David MacKenzie 編寫。
GNU coreutils 的線上幫助:
<https://www.gnu.org/software/coreutils/>
請向 <https://translationproject.org/team/zh_CN.html>
報告翻譯錯誤。
Copyright © 2022 Free Software Foundation, Inc. License
GPLv3+: GNU GPL version 3 or later
<https://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.
join(1), uniq(1)
完整文件請見:<https://www.gnu.org/software/coreutils/comm>
或者在本地使用: info
'(coreutils) comm invocation'
本頁面中文版由中文
man 手冊頁計劃提供。
中文 man
手冊頁計劃:https://github.com/man-pages-zh/manpages-zh
2022年9月 | GNU coreutils 9.1 |