#cat #cli

app cato

A file catenation tool written in Rust

2 unstable releases

Uses new Rust 2024

0.2.0 Mar 21, 2026
0.1.0 Mar 7, 2026

#1939 in Command line utilities

GPL-3.0-only

32KB
257 lines

cato

A file catenation tool written in Rust.

Usage

Usage: cato [OPTIONS] [FILES]...

Arguments:
  [FILES]...  file(s) to read

Options:
  -b, --number-nonblank   Number nonempty output lines, overrides -n
  -e                      Equivalent to -vE
  -E, --show-ends         Display $ at the end of each line
  -n, --number            Number all output lines
  -s, --squeeze-blank     Suppress repeated empty output lines
  -t                      Equivalent to -vT
  -T, --show-tabs         Display TAB characters as ^I
  -u                      (ignored)
  -v, --show-nonprinting  Use ^ and M- notation, except for LFD and TAB
  -h, --help              Print help
  -V, --version           Print version

Install

Windows 64-bit

choco install cato

Cargo

cargo install cato

Developer Notes

Debug Build

cargo build

Release Build

cargo build --release

Cross-platform Support

Platform Arch Toolchain
Linux x86_64 x86_64-unknown-linux-gnu
Linux i686 i686-unknown-linux-gnu
Windows x86_64 x86_64-pc-windows-msvc

Dependencies

~1.3–2MB
~40K SLoC