-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
33 lines (24 loc) · 1.34 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Tthis is a simple tool for counter the line of codes.
Used AWK,Shell(linux),BAT(windows)
Just written in order to study the AWK
How to use this tool under windows enviroument.
Download the project file.
Under Windows environment
1.dobule click the final.bat to start the tool.
2.according to the promot,input the director(catalog) or the single file please add the pathname at the same time.
3.according to the promot,input the file type to calculate the line of file,such as , c cpp h s java js cs (this type only now)
4.wait for the calculate result
Under Linux environment
1.run final.sh in the terminal, ./final.sh
2.according to the promot,input the director(catalog) or the single file please add the pathname at the same time.
3.according to the promot,input the file type to calculate the line of file,such as , c cpp h s java js cs (this type only now)
4.wait for the calculate result
Under Linux environment
win7环境下使用方法:
1.双击final.bat运行该工具
2.按照提示,输入所要统计的file所在目录或单个file,带路径,也可以直接将目录拖入名命令行窗口
3.按照提示,输入需要统计的件类型如c、cpp、h、s、java、js、cs(目前只支持这几种)4.等待输出统计结果
linux下已在ubuntu10.04下测试,具体使用方法如下:
1.在终端中运行final.sh,./final.sh
2.按照提示输入目录或file
3.按照提示,输入需要统计的件类型如c、cpp、h、s、java、js、cs(目前只支持这几种)4.等待输出统计结果