What version of bat are you using?
[paste the output of bat --version here]
currently none. before upgrade 0.12
Describe the bug you encountered:
...After upgrading to ubuntu 20.04 bat executable disappeared and this output is generated after running bat
Command 'bat' not found, but can be installed with:
sudo apt install bacula-console-qt
Describe what you expected to happen?
...bat to run without any problem
How did you install bat?
apt-get, homebrew, GitHub release, etc.
---apt-get
[paste the output of info.sh here]
$ uname -srm
Linux 5.4.0-21-generic x86_64
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
Codename: focal
$ bat --version
./info.sh: line 101: bat: command not found
$ env
./info.sh: line 45: bat: command not found
No wrapper script.
No wrapper function.
$ less --version
less 551 (GNU regular expressions)
Yeah, unfortunately they had to rename the bat binary.
This is documented in the Ubuntu ChangeLog, the package description, the list of files and the README.Debian file:
bat for Debian
==============
In this package the executable and its manpage have been
renamed from ‘bat’ to ‘batcat’ because of a file name clash
with another Debian paclage.
Related issues on the Debian tracker:
Just a note, at least in Ubuntu 20.04, the new executable is 'batcat', not 'batbat' as mentioned in the README above. A small typo :)
uh, yes. that has to be fixed in the Debian package.
@sharkdp , can you edit your first comment? It would save people the "try and error" until they read eugeneromero's comment with the right name.
Most helpful comment
Just a note, at least in Ubuntu 20.04, the new executable is 'batcat', not 'batbat' as mentioned in the README above. A small typo :)