Section: cut and paste

Paste with a custom delimiter

bash
bash
paste -d, names.txt emails.txt
Explanation

Useful for building ad hoc CSV-like output.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing cut and paste
Merge files side by side
Combine lines from two files into columns.
OpenIn sheetbashsame section
Extract comma-delimited fields
Print the first and third fields from a CSV-like file.
OpenIn sheetbashsame section
Extract character positions
Print characters 1 through 8 from each line.
OpenIn sheetbashsame section
Exclude selected fields
Print all fields except one.
OpenIn sheetbashsame section
Sort lines alphabetically
Default lexicographic sort.
Convert lowercase to uppercase
Translate characters from lower to upper case.