Show text files in the terminal
  • Rust 95.2%
  • Makefile 4.8%
Find a file
Juhani Krekelä a8d2a002c6 Add Makefile
2026-06-29 23:31:23 +03:00
src Note if a file was empty 2026-06-29 22:03:04 +03:00
.gitignore Add Makefile 2026-06-29 23:31:23 +03:00
Cargo.lock First commit 2026-06-28 00:24:20 +03:00
Cargo.toml First commit 2026-06-28 00:24:20 +03:00
CC0 First commit 2026-06-28 00:24:20 +03:00
Makefile Add Makefile 2026-06-29 23:31:23 +03:00
README Add Makefile 2026-06-29 23:31:23 +03:00
rustfmt.toml First commit 2026-06-28 00:24:20 +03:00

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.