Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
suryaanshah authored Jul 3, 2024
1 parent 6686cb2 commit 3ccd888
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@
A `wc` clone written in python.

It can:
+ count lines
+ count lines
+ count bytes
+ count words
(more to be added soon)

# Functioning
This will work exactly like the `wc` command. Download the `.py` file then:
+ count lines: `python3 ccwc.py -l test.txt`
+ count bytes: `python3 ccwc.py -c test.txt`
+ count words: `python3 ccwc.py -w test.txt`

Replace `test.txt` with any text file.

# Description (from the man page of wc)
`wc (1) - print newline, word, and byte counts for each file`

Expand Down

0 comments on commit 3ccd888

Please sign in to comment.