This is a small fun project that I submitted when applying for a job at Canonical a few years ago.
This application replicates and fully implements the cat
utility.
To build cat execute
go build -o cat cmd/cat.go
This repo comes with two test files that allow you to explore the features offered by cat
.
test.txt
has text and empty lines.test.bin
has an enumerated list and the corresponding character for all ascii values. To show unprintable characters use the--show-nonprinting
flag.