Skip to content

Commit

Permalink
Updated dataCounter.py. (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
DevReaper0 committed Oct 19, 2021
1 parent 12472c4 commit 60e4700
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dataCounter.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
if len(sys.argv) > 1:
if sys.argv[1].lower() == "lines":
rcmd = "( find ./ -name '*.%s' -print0 | xargs -0 cat ) | wc -l"
elif sys.argv[1].lower() == "words":
rcmd = "( find ./ -name '*.%s' -print0 | xargs -0 cat ) | wc -w"
elif sys.argv[1].lower() == "chars":
rcmd = "( find ./ -name '*.%s' -print0 | xargs -0 cat ) | wc -c"
elif sys.argv[1].lower() == "maxlinelength" or sys.argv[1].lower() == "max-line-length" or sys.argv[1].lower() == "mll":
rcmd = "( find ./ -name '*.%s' -print0 | xargs -0 cat ) | wc -L"

Expand Down

0 comments on commit 60e4700

Please sign in to comment.