-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.txt
More file actions
20 lines (17 loc) · 804 Bytes
/
README.txt
File metadata and controls
20 lines (17 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# cst.py
python3 School assigment
documentation: CST-doc.pdf
--------------------------------------------------------------------------------
Basic statistics for C source files.
Usage: python3 cst.py [--input=FILEORDIR] [--nosubdir] [--output=FILENAME] -k|-o|-i|-w=PATTERN|-c [-p]
--help - shows help
--input - file or directory to be analyzed
--nosubdir - subdirectories won't be searched for files
--output - output file
-k - number of keywords in the file(s)
-o - number of operators in the file(s)
-i - number of identificators in the file(s)
-w - number of found PATTERNs in the file(s)
-c - number of commented characters in the file(s)
-p - absoluthe paths of the file(s) won't be included in the output
--------------------------------------------------------------------------------