Skip to content

siuwaiyuen/wc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wc.exe程序使用说明

该程序能正确统计程序文件中的字符数、单词数、行数,以及还具备其他扩展功能,并能够快速地处理多个文件。 该程序通过cmd命令行调用执行(程序没有设置默认参数,不能直接使用)

具体功能:

程序处理用户需求的模式为:

wc.exe [parameter] [file_name]   基本功能列表:

wc.exe -c file.c //返回文件 file.c 的字符数

wc.exe -w file.c //返回文件 file.c 的词的数目

wc.exe -l file.c //返回文件 file.c 的行数   扩展功能:    

-s   递归处理目录下符合条件的文件。

-a   返回更复杂的数据(代码行 / 空行 / 注释行)。

注:该程序目前暂不支持通配符的使用,-s命令只能输出当前目录及其子目录下所有文件所要查询的数据

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published