logoalt Hacker News

hnlmorglast Friday at 6:30 PM1 replyview on HN

“bat” is a pretty good modern “cat”

https://github.com/sharkdp/bat


Replies

Imustaskforhelplast Friday at 7:14 PM

So I just ran strace -c cat <file> and strace -c bat <file>

Bat did 445 syscall Cat did 48 syscall

Sure bat does beautify some things a lot but still I just wanted to tell this, I want something that can use io_uring for cat too I think,

like what's the least number of syscalls that you can use for something like cat?