A cat(1) clone with wings.
bat is a cat clone written in Rust that adds syntax highlighting and Git integration to the classic Unix file-viewing utility. Beyond basic file display, bat supports syntax highlighting for numerous programming and markup languages, shows Git modifications in a sidebar, can display non-printable characters, and automatically pipes long output to a pager. The tool functions as a drop-in replacement for cat while offering extensive customization options for themes, output styles, and language definitions, and integrates well with other command-line tools like fzf, ripgrep, and git.