diff options
Diffstat (limited to 'system/bat/README')
-rw-r--r-- | system/bat/README | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/system/bat/README b/system/bat/README index 22e5e908b7..caedaf1c7b 100644 --- a/system/bat/README +++ b/system/bat/README @@ -1,4 +1,15 @@ bat is a cat clone with syntax highlighting and Git integration. -Rust 1.60 or newer is a compile-time dependency, which is available from -the Slackware tree in extra/rust-for-mozilla/. +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. |