Show text files in the terminal
- Rust 95.2%
- Makefile 4.8%
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CC0 | ||
| 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 non-nightly 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.
Kato is available under CC0 or GPLv3 at your preference.