Go to file
Shav Kinderlehrer 6e577f1906
All checks were successful
Build / build (push) Successful in 39s
Simplify README.md
2023-08-24 16:42:59 -04:00
.github/workflows Create c-cpp.yml 2023-04-20 13:35:55 -04:00
include Add auto-pager 2023-06-09 13:56:16 -04:00
social Cleanup 2023-05-01 18:47:37 -04:00
src Add auto-pager 2023-06-09 13:56:16 -04:00
.gitignore Add auto-pager 2023-06-09 13:56:16 -04:00
compile_flags.txt Implement file opening 2023-04-10 00:58:48 -04:00
LICENSE Add social 2023-04-20 10:33:28 -04:00
Makefile Add auto-pager 2023-06-09 13:56:16 -04:00
README.md Simplify README.md 2023-08-24 16:42:59 -04:00

lat

lat | lazy cat - a cat clone with some quality-of-life embellishments

About

lat is a solution to a problem that doesn't exist. It's the awkward middle child in-between cat and bat. It was created because the author didn't want to have to configure bat just to get decent file printing, but wanted a little more control than cat offered.

lat does not expect to be used. lat expects to be forgotten and shunted into a corner because it does not belong in the slightest.

Install

lat is not yet at a stable version (v1.0.0), so it is not on any package managers.

git clone https://github.com/secondary-smiles/lat.git

cd lat

make

./build/lat -V

# now add lat to your $PATH/do whatever you want with the binary

Helptext

lat -h

lat | lazy cat - a cat clone with some quality-of-life embellishments

usage: lat [-cltbrpneVh] [file...]

options:
	-c           toggle color
	-l           toggle line numbers
	-t           toggle file info headers
	-b           set binary mode, -b forces binary and -bb forces NOT binary
	-r           print everything (headers, line numbers, etc.) to stdout (or equivalent)
	-p           print file with the pager (uses less)
	-n <name>    manually set the name of the file shown in the title
	-e <program> link extension to lat
	-V           show program version
	-h           display this help text

environment:
	NO_COLOR, see https://no-color.org/