Skip to content
/ go-wc Public

CLI tool для подсчёта строк, слов или байтов в инпуте из stdin.

Notifications You must be signed in to change notification settings

hazadus/go-wc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-wc

CLI tool для подсчёта строк, слов или байтов в инпуте из stdin.

Сборка

go build

Как пользоваться

# Считать слова
cat main.go | ./go-wc

# Считать строки
cat main.go | ./go-wc -l

# Считать байты
cat main.go | ./go-wc -b

Запуск тестов

go test -v

About

CLI tool для подсчёта строк, слов или байтов в инпуте из stdin.

Topics

Resources

Stars

Watchers

Forks

Languages