owenthereal / ccat

Colorizing `cat`
https://github.com/owenthereal/ccat
MIT License
3.16k stars 118 forks source link

Linebreak at end of file? #63

Open aenon opened 7 years ago

aenon commented 7 years ago

Will it be easy to implement such an option? When ccat is called with this option, it will add a linebreak at end of file, if the file itself does not end with a linebreak. (This is not an option from the original cat)

Example:

user@host~$ ccat my_number.txt
13189057482user@host~$ 

vs

user@host~$ ccat -l my_number.txt
13189057482
user@host~$