WC(1) User Commands/用户命令 WC(1)
NAME/名称
wc - print the number of newlines, words, and bytes in files/wc-打印文件中的换行符、单词和字节数
wc - print the number of newlines, words, and bytes in files/wc-打印文件中的换行符、单词和字节数
SYNOPSIS/简介
wc [OPTION]... [FILE].../菜单 /文件
wc [OPTION]... [FILE].../菜单 /文件
DESCRIPTION/描述
Print newline, word, and byte counts for each FILE, and a total line if more
than one FILE is specified. With no FILE, or when FILE is -, read standard
input.
为每个文件打印换行符、字和字节计数,如果指定了多个文件,则打印一行总计。
如果没有文件,或者当文件为-时,读取标准输入。
Print newline, word, and byte counts for each FILE, and a total line if more
than one FILE is specified. With no FILE, or when FILE is -, read standard
input.
为每个文件打印换行符、字和字节计数,如果指定了多个文件,则打印一行总计。
如果没有文件,或者当文件为-时,读取标准输入。
-c, --bytes
print the byte counts/打印字节计数
print the byte counts/打印字节计数
-m, --chars
print the character counts/打印字符计数
print the character counts/打印字符计数
-l, --lines
print the newline counts/打印换行符
print the newline counts/打印换行符
-L, --max-line-length
print the length of the longest line/打印最长行的长度
print the length of the longest line/打印最长行的长度
-w, --words
print the word counts/打印字数
print the word counts/打印字数
--help display this help and exit/帮助显示此帮助并退出
--version
output version information and exit/输出版本信息并退出
output version information and exit/输出版本信息并退出
AUTHOR/作者
Written by Paul Rubin and David MacKenzie.
Written by Paul Rubin and David MacKenzie.
REPORTING BUGS/报告错误
Report bugs to <bug-coreutils@gnu.org>.
Report bugs to <bug-coreutils@gnu.org>.
COPYRIGHT/版权
Copyright 漏 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
版权所有2006免费软件基金会。
这是免费软件。您可以根据以下条款重新分发副本:
GNU通用公共许可证<http://www.gnu.org/licenses/gpl.html>。
在法律允许的范围内,没有担保。
Copyright 漏 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
版权所有2006免费软件基金会。
这是免费软件。您可以根据以下条款重新分发副本:
GNU通用公共许可证<http://www.gnu.org/licenses/gpl.html>。
在法律允许的范围内,没有担保。
SEE ALSO/参照
The full documentation for wc is maintained as a Texinfo manual. If the
info and wc programs are properly installed at your site, the command
The full documentation for wc is maintained as a Texinfo manual. If the
info and wc programs are properly installed at your site, the command
info wc
should give you access to the complete manual.
wc的完整文档作为texinfo手册进行维护。
如果您的站点正确安装了INFO和WC程序,
那么INFO WC命令应该允许您访问完整的手册。
wc的完整文档作为texinfo手册进行维护。
如果您的站点正确安装了INFO和WC程序,
那么INFO WC命令应该允许您访问完整的手册。
wc 5.97 September 2009 WC(1)