Skip to content

kaunfused/ZXC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZXC: wc using GoLang

ZXC is my custom implementation of the wc command of unix/linux using golang; It has 4 options currently which can be used with or without, and a filepath as input as follows: ./zxc -option your_filepath

option output
-c prints the number of bytes in a file
-w prints the number of words in a file
-l prints the number of lines in a file
-m prints the number of characters in a file

To use it, just clone the repo, move into the folder and type go build zxc.go and then follow the pattern shown above to get the results, a test.txt file has been included within the repo to check out the results

Run go run zxc.go -h to see all the available options

About

custom wc implementation using golang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages