You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
I added a 'line number' flag ('-n') which will print the line number with padding before every line. To ensure that a line number isn't printed when trying to 'ccat' an empty file, I added a check to see if the file is empty. If it is, the program exits. |
6 months ago | |
---|---|---|
config | 7 months ago | |
stack | 7 months ago | |
.gitignore | 7 months ago | |
Makefile | 7 months ago | |
color.go | 7 months ago | |
colorunit.go | 7 months ago | |
config.go | 6 months ago | |
errors.go | 7 months ago | |
go.mod | 7 months ago | |
go.sum | 7 months ago | |
main.go | 6 months ago | |
regcolor.go | 7 months ago | |
test.c | 7 months ago | |
todo.txt | 7 months ago | |
vision.txt | 7 months ago |