Rockingcool 81b976bcc7 Added 'line number' flag, and added check for empty file.
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.
2024-08-13 00:49:02 -05:00
2024-08-09 19:20:42 -05:00
2024-08-10 11:04:22 -05:00
2024-08-09 19:20:42 -05:00
2024-08-09 19:20:42 -05:00
2024-08-09 19:20:42 -05:00
2024-08-09 19:20:42 -05:00
2024-08-09 19:20:42 -05:00
2024-08-09 19:20:42 -05:00
2024-08-09 19:20:42 -05:00
Description
color cat - cat(1) with regex-based syntax highlighting.
2 MiB
ccat v0.1.1 Latest
2024-08-25 14:38:12 -05:00
Languages
Go 97.8%
Shell 1.9%
Makefile 0.3%