Skip to Content
gnux

-d, --delimiters

Reuse characters from LIST instead of TABs.

An option of pastex.

Usage

pastex -d LIST [FILE]...
pastex --delimiters=LIST [FILE]...

Details

ShortLongValueDefaultMeaning
-d--delimitersLISTreuse characters from LIST instead of TABs

Examples

Use a comma instead of a TAB

pastex -d , names.txt ages.txt

Join all the lines of a file into one comma-separated line

pastex -s -d , hosts.txt

Cycle through several delimiters

pastex -d ',;' a.txt b.txt c.txt

Join columns with no delimiter at all

pastex -d '\0' first.txt last.txt

Turn a column of numbers into one sum expression (1+2+3+4+5)

seqx 5 | pastex -s -d +

Help in the terminal

gnux help pastex --delimiters

On this page