TCU

A reimplementation of the BSD core utilities written in C.
Log | Files | Refs | README | LICENSE

commit a15810bef7b2ba4f2debfeebb70c738aa3cb8b6d
parent dea33a4032df1df25dee47a27adbbce8f092b6af
Author: Tyler Clark <tyler.clark@foxide.xyz>
Date:   Sun,  9 Feb 2025 21:42:28 -0500

Updating wc.c

Diffstat:
Msrc/wc.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/wc.c b/src/wc.c @@ -27,8 +27,7 @@ int main(int argc, char *argv[]) { /* This will be used to iterate through files */ int i = 1; - int lineCount = strcmp(argv[1], "-l"); - + int countLines = strcmp(argv[1], "-l"); /* rough draft of basic idea */ for (i = 1; i < argc; i++) {