For the following examples, names.txt is a plain-text file that contains:
numbers.txt is another plain-text file that contains:
The following command joins the two files.
When invoked with the --serial option (-s on BSD or older systems), the files are joined horizontally:
The use of the --delimiters option (-d on BSD or older systems) is illustrated in the following example:
"paste(1) - OpenBSD manual pages". https://man.openbsd.org/paste.1 ↩
"[TUHS] A portrait of cut(1)". https://www.tuhs.org/pipermail/tuhs/2020-January/019955.html ↩
"Paste(1): Merge lines of files - Linux man page". https://linux.die.net/man/1/paste ↩
"Native Win32 ports of some GNU utilities". unxutils.sourceforge.net. http://unxutils.sourceforge.net/ ↩