Colorized output for syslog files?
Opened this issue · 3 comments
thomas-j-adaptiva commented
keith-hall commented
perhaps we don't have a syntax mapping by default for /var/log/dmesg
. Try bat -l syslog /var/log/dmesg
and see how that looks :)
thomas-j-adaptiva commented
That works splendidly, thank you! Sorry about that!
Also a small bug, if you do a bat -l /var/log/dmesg
with no option for the -l
, it just hangs.
Thank you!
keith-hall commented
Also a small bug, if you do a
bat -l /var/log/dmesg
with no option for the-l
, it just hangs.
that's not entirely a bug :) bat
is designed to behave like cat
whereby if you don't specify a filename, it reads from stdin. So it is waiting for stdin to end.