81b976bcc73ac5e02ba370f556735780d4e357c3
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.
Description
color cat - cat(1) with regex-based syntax highlighting.
ccat v0.1.1
Latest
Languages
Go
97.8%
Shell
1.9%
Makefile
0.3%