4 ms·
Assuming perfect memory and you never make typos they are exactly the same. For most installs. Or distros. Probably.
by tclancy 1y ago
Assuming perfect memory and you never make typos they are exactly the same. For most installs. Or distros. Probably.
- GodelNumbering 1y agoYou don't need to memorize alias bat='f(){ cat "$1" | highlight --force -O xterm256 | less -SRNI; }; f'
- lynndotpy 1y agoFor all the other issues people have pointed out, this assumes you have `highlight` installed.
- yjftsjthsd-h 1y agoAs opposed to having bat installed?
- yjftsjthsd-h 1y ago> Assuming perfect memory and you never make typos they are exactly the same. You can make an alias. > For most installs. Or distros. Probably. Comparing https://repology.org/project/bat-cat/packages https://repology.org/project/bat-cat/packages vs https://repology.org/project/highlight/packages https://repology.org/project/highlight/packages appears to show them with approximately equal availability. (Unless you're trying some other point, in which case I don't follow.)