Show text files in the terminal
- Rust 80.4%
- Roff 11.9%
- Makefile 5.7%
- Shell 2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| scripts | ||
| src | ||
| vendor | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CC0 | ||
| git-keywords-expansion.text | ||
| INSTALL.md | ||
| kato.1 | ||
| Makefile | ||
| README | ||
| rustfmt.toml | ||
Kato ('look' in my dialect of Finnish, also a pun on cat(1), also the
Finnish word for 'loss, disappearance') is a tool for showing the
contents of text files in a terminal.
Compared to cat, kato
+ marks where one file ends and another begins, if invoked on multiple
+ does not send arbitrary escape sequences to your terminal
- will not work on terminals that don't implement ANSI escape sequences
Compared to bat, kato
+ uses an output format allowing a clean copy-paste of the file contents
± has no syntax highlighting
± does not try to pass-through a safe subset of ANSI escapes
± will not invoke a pager automagically
Kato is written 100% in `unsafe`-less stable Rust, and can be built
either with the rust-lang.org reference Rust compiler or with mrustc.
You can use either cargo or a POSIX-compliant make as the build
system.
The source code of kato is available under CC0 or GPLv3 at your
preference. The compiled binary incorporates lexopt, and as such is
additionally covered by the MIT license.