It'll work just fine (and be a lot less confusing to look at) if you do: sort -t \tsort -t $'\t' but not: sort -t "\t"sort -t '\t' http://ask.metafilter.com/18273/tab-character-in-linux