NAME 名字
wc - 输出文件中的字节数、单词数、行数
SYNOPSIS 总览
../src/wc [选项列表]... [文件名列表]...
DESCRIPTION 描述
对每个文件输出行、单词、和字节统计数,如果指定了多于一个文件则还有一个行数的总计。没有指定文件或指定的文件是 -,则读取标准输入。
- -c, --bytes, --chars
- 输出字节统计数。
- -l, --lines
- 输出换行符统计数。
- -L, --max-line-length
- 输出最长的行的长度。
- -w, --words
- 输出单词统计数。
- --help
- 显示帮助并退出
- --version
- 输出版本信息并退出
AUTHOR 著作者
由 Paul Rubin 和 David MacKenzie 完成。
REPORTING BUGS 报告缺陷
向 <bug-textutils@gnu.org>报告缺陷。
COPYRIGHT 版权
Copyright � 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO 参见
完整的 wc 文档是以 Texinfo 手册的形式维护的,如果 info 和 wc 在你的机器上被正确的安装了,使用命令 info wc 就访问完整的文档了。
#p#
NAME
wc - print the number of newlines, words, and bytes in files
SYNOPSIS
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.
- -c, --bytes
- print the byte counts
- -m, --chars
- print the character counts
- -l, --lines
- print the newline counts
- -L, --max-line-length
- print the length of the longest line
- -w, --words
- print the word counts
- --help
- display this help and exit
- --version
- output version information and exit
AUTHOR
Written by Paul Rubin and David MacKenzie.
REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>.
COPYRIGHT
Copyright © 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
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
- info coreutils wc
should give you access to the complete manual.