some distributions use "batcat" for the executable so code examples in documentation don't work
Opened this issue · 1 comments
There are lots of great code examples in the documentation here, but they use "bat" for the executable name. But some Linux distributions (Debian and Ubuntu, at least) use "batcat" for the executable name -- which means you can't blindly copy and paste the code. And it's confusing when you do -- a user might say "huh? Why is the command not found? I just installed the 'bat' package!?
The documentation should at least mention that users may need to use "batcat" instead of "bat".
And since many users will dive straight to a code snippet and copy right from there -- without reading anything else -- perhaps every the code examples could all have a comment about possibly needing "batcat". But that would be awkward, despite its usefulness.
Hrm, now I see some other related issues. So I guess this is a sort of duplicate? Although the fact that I tripped over it does say something about how users can blindly copy and paste and get a bit confused...