8000 GitHub - aungkoko/ccwc
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aungkoko/ccwc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

John Crickett's Coding Challenges

About

My solution of the coding challenge's wc cli tool. wc cli tool challenge

Prerequisites

You need to install go version1.21.x

Tests

go test -v

How to install

go build

Usage

Sample command

    ./ccwc -l sample.txt

You can use these flags on your desire.

  • -c for bytes count in file
  • -l for line count in file
  • -w for words count in file
  • -m for character count in file

If you would like to read from standard input, you can use like this

    less test.txt | ./ccwc -l

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0