Skip to content

sanjeev29/gowc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gowc

A command-line tool written in Go that replicates the functionality of the Unix wc (word count) utility. It provides an efficient and fast way to count lines, words, and characters in text files, leveraging the power of Go.

Usage

  1. Clone the Repository:

    git clone https://github.com/sanjeev29/gowc.git
    cd gowc
  2. Build the Executable: Use the Go build tool to create the executable.

    go build -o gowc main.go
  3. Run the Tool: Run the generated executable file with a text file as input.

    ./gowc test.txt

    This will output the number of lines, words, and characters in test.txt.

About

'wc' command line tool in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages