From 3ccd888346a14c30f845f8878d39252974b42eec Mon Sep 17 00:00:00 2001 From: Suryaansh Chawla Date: Wed, 3 Jul 2024 16:05:53 +0530 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1aac9b9..c326fe3 100644 --- a/README.md +++ b/README.md @@ -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`