GitHunt
NI

cat and less in one program

catless

A small Awk script that prints input to standard output
if it fits in the terminal window, otherwise opening a pager.

Dependencies

Installation

Manual

git clone https://github.com/NikitaIvanovV/catless
cd catless
sudo make install

Uninstall with sudo make uninstall

AUR

If you are an Arch Linux user, you can install
catless-git
AUR package.

yay -S catless-git

Usage

catless file
command | catless

catless respects $PAGER environmental variable.

Languages

Awk78.3%Makefile21.7%

Contributors

MIT License
Created July 27, 2022
Updated July 1, 2025