Skip to content
/ ccwc Public

Version in Go of the Unix command line tool wc.

Notifications You must be signed in to change notification settings

SantiSite/ccwc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CCWC

Version in Go of the Unix command line tool wc.

It was carried out in order to overcome the Coding Challenges challenge.

Install

You must have Go installed and configured on your machine.

Step 0

git clone [email protected]:SantiSite/ccwc.git

Step 1

cd ccwc

Step 2

go install

Usage

How to use:

ccwc --help

Print the word counts:

$ ccwc -w <path/to/your/file>

Examples:

$ ccwc main.go
output:
      newlines           words           bytes           chars
            135             382            2549            2549    main.go
$ cat main.go | ccwc
output:
       newlines           words           bytes           chars
            135             382            2549            2549    main.go

About

Version in Go of the Unix command line tool wc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages