All apps/cat

cat

cat

Concatenate and print files.

Runs as cat|macOS, Linux, Windows

Command form

ai-draft · 3 tasks · 8 fields

Concatenate files to standard output with optional line numbering and visible control characters. Reads standard input when no file is given.

Opens the form; the finished command lands at your prompt, unrun
otty gui cat
Print filesExample values, fixed in this page — nothing here reaches a terminal
Basic
Files*
file
TasksEach one presets the form for one job
Print files
files
Print with line numbers
filesnumbersqueeze
Reveal tabs and line ends
filesshow_tabsshow_ends
ParametersOnly these flags are editable in the form
Files
path · positional 0 · repeatable
Number all lines
boolean
-n
Number non-blank lines
boolean
-b
Squeeze blank lines
Collapse multiple adjacent empty lines into one.
boolean
-s
Show non-printing characters
boolean
-v
Show line ends and non-printing
Shows a dollar sign at the end of each line, plus non-printing characters.
boolean
-e
Show tabs and non-printing
Displays tab characters as ^I, plus non-printing characters.
boolean
-t
Unbuffered output
boolean
-u
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed cat against its version. A form that does not match your version is not offered.