cut

From wikieduonline
Revision as of 16:36, 5 May 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search

cut --help
cut: illegal option -- -
usage: cut -b list [-n] [file ...]
       cut -c list [file ...]
       cut -f list [-s] [-w | -d delim] [file ...]


Tabulator as separator:

cut -f1 -d$'\t'
echo 'maps.google.com' | rev | cut -d'.' -f 1 | rev


See also

Advertising: