paste command
The paste command, which joins corresponding lines of several files side by side, separated by tabs.
In more detail
Like diff and comm it wants file names, so process substitution lets it combine the output of commands directly. The -d option chooses a separator other than a tab.
Related terms
- process substitution — The bash form <(command), which runs a command and hands its output to another program as if it were a file name.
- cut command — The cut command, which extracts columns from each line, either by character position or by fields split on a delimiter.
Taught in
- Pipelines, tee And Process Substitution — Bash Scripting & Command Line Automation