Delimiter

noun

say it: “dih-LIM-ih-ter” /dɪˈlɪmɪtər/

A character that marks where one piece of text ends and the next begins, such as the comma between the columns of a CSV file.

What is a delimiter?

A delimiter is the character that marks where one column of a line ends and the next begins, the way commas split a CSV file's lines. Tools that take columns out of text need to be told which character it is, as cut -d, (read "delimiter comma") is.

cut -d, -f3,5 orders.csv | head -n 2
# customer,city
# Zoe Hart,Portland

In a sentence

  • “The bakery's export used a tab as its delimiter, so cut needed no -d at all.”
  • “In a CSV file the comma is the delimiter, so cut -d, splits each line at its commas.”

Level: Novice · More Operating System terms at this level

Updated