Here is an example of using cut
to break input into fields using a space delimiter, and obtaining the second field:
cut -f2 -d' '
How can the delimiter be defined as a tab, instead of a space?
bashcut
Here is an example of using cut
to break input into fields using a space delimiter, and obtaining the second field:
cut -f2 -d' '
How can the delimiter be defined as a tab, instead of a space?
Best Answer
Two ways:
Press Ctrl+V and then Tab to use "verbatim" quoted insert.
or write it like this to use ANSI-C quoting: