Provided by: manpages-zh_1.6.3.6-1_all bug

名稱

       wc - 輸出檔案中的行數、單詞數、位元組數

概述

       wc [選項]... [檔案列表]...
       wc [選項]... --files0-from=F

描述

       對每個檔案輸出行、單詞和位元組統計數,如果指定的檔案多於一個,則同時輸出總行數。單詞指以空
       白字元分隔的長度非零的字元序列。

       如果沒有指定檔案,或者指定檔案為“-”,則從標準輸入讀取。

       下列選項可被用來選擇應該顯示哪些計數資訊。它們總是按照行數、單詞數、字元數、位元組數、最大
       行長度的順序顯示。

       -c, --bytes
              輸出位元組統計數

       -m, --chars
              輸出字元統計數

       -l, --lines
              輸出換行符統計數

       --files0-from=F
              將檔案F  中的以 NUL 結尾的名字所指定的檔案作為待統計檔案;如果檔案F 為“-”,則從標準
              輸入讀取這些名字

       -L, --max-line-length
              列印最大顯示寬度

       -w, --words
              輸出單詞統計數

       --help 顯示此幫助資訊並退出

       --version
              顯示版本資訊並退出

作者

       由 Paul Rubin 和 David MacKenzie 編寫。

報告錯誤

       GNU coreutils 的線上幫助: <https://www.gnu.org/software/coreutils/>
       請向 <https://translationproject.org/team/zh_CN.html> 報告翻譯錯誤。

版權

       Copyright © 2020 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.

參見

       完整文件請見: <https://www.gnu.org/software/coreutils/wc>
       或者在本地使用: info '(coreutils) wc invocation'

       本頁面中文版由中文 man 手冊頁計劃提供。
       中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh