Skip to content

managing tabular data

selecting the first column of a DSV table

Note

  • foo.bar represents an input file containing a delimiter-separated value-formatted table.
  • baz represents the delimiter character used by the input file, for example , (comma) for a CSV file, or \t (tab) for a TSV file.

Use cut -d$'baz' -f1 foo.bar.

prior work

licensing

No rights reserved: CC0 1.0.