{"repo":"sharkdp/bat","free":true,"listed":false,"github":"https://github.com/sharkdp/bat","clone":"git clone https://github.com/sharkdp/bat.git","description":"A cat(1) clone with wings.","language":"Rust","stars":60196,"topics":["command-line","tool","syntax-highlighting","git","terminal","cli","rust","hacktoberfest"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"A cat(1) clone with syntax highlighting and Git integration. Key Features • How To Use • Installation • Customization • Project goals, alternatives [English] [ 中文 ] [ 日本語 ] [ 한국어 ] [ Русский ] Syntax highlighting bat supports syntax highlighting for a large number of programming and markup languages: Git integration bat communicates with git to show modifications with respect to the index (see left sidebar): Show non-printable characters You can use the -A / --show-all option to show and highlight non-printable characters: Automatic paging By default, bat pipes its own output to a pager (e.g. less ) if the output is too large for one screen. If you would rather bat work like cat all the time (never page output), you can set --paging=never as an option, either on the command line or in your configuration file. If you intend to alias cat to bat in your shell configuration, you can use alias cat='bat --paging=never' to preserve the default behavior. File concatenation Even with a pager set, you can still use bat to concatenate files :wink:. Whenever bat detects a non-interactive terminal (i.e. when you pipe into another process or into a file), bat will act as a drop-in replacement for cat and fall back to printing the plain file contents, regardless of the --pager option's value. How to use Display a single file on the terminal Display multiple files at once Read from stdin, determine the syntax automatically (note, highlighting will only work if the syntax can be determined fr","default_branch":null,"files":null,"tree":[],"storefront":"/r/sharkdp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sharkdp/bat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}