23 lines
1,014 B
Text
23 lines
1,014 B
Text
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.
|