macOS / binaries /

cut

/usr/bin/cut
Cut out selected portions of each line of a file

The cut utility cuts out selected portions of each line (as specified by list) from each file and writes them to the standard output. If no file arguments are specified, or a file argument is a single dash, cut reads from the standard input.

source: man