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.txthas text and empty lines.
- test.binhas an enumerated list and the corresponding character for all ascii values. To show unprintable characters use the- --show-nonprintingflag.