summaryrefslogtreecommitdiffstats
path: root/system/bat/README
blob: caedaf1c7b020408173dd0be551e7d6042e15564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
bat is a cat clone with syntax highlighting and Git integration.

bat prints the syntax-highlighted content of a collection of FILEs to
the terminal. If no FILE is specified, or when FILE is '-', it reads
from standard input.

bat supports a large number of programming and markup languages. It also
communicates with git(1) to show modifications with respect to the git
index. bat automatically pipes its output through a pager (by default:
less).

Whenever the output of bat goes to a non-interactive terminal, i.e. when
the output is piped into another process or into a file, bat will act as
a drop-in replacement for cat(1) and fall back to printing the plain
file contents.