All apps/cut

cut

cut

Cut out selected portions of each line of a file.

Runs as cut|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 6 fields

Select bytes, characters or delimited fields from each line of the given files or standard input.

Opens the form; the finished command lands at your prompt, unrun
otty gui cut
Cut columns or fieldsExample values, fixed in this page — nothing here reaches a terminal
Basic
Fields*
string
Delimiter
string
Only lines with a delimiter
-s
Input files
file
TasksEach one presets the form for one job
Extract fields
fieldsdelimiteronly_delimitedfiles
Extract characters
charsfiles
ParametersOnly these flags are editable in the form
Fields
Field positions, e.g. 1,3 or 2-4.
string
-f
Delimiter
string
-d
Characters
string
-c
Bytes
string
-b
Only lines with a delimiter
boolean
-s
Input files
Leave empty to read standard input.
path · positional 0 · repeatable
SourcesEvery flag above is checked against these
fig
completion

github.com

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