paste
Merge corresponding lines from multiple files side by side using a configurable delimiter. Combine columns into a table. Read-only operation returns JSON.
Instructions
Merge corresponding lines from multiple files side by side, separated by a configurable delimiter (default tab). Read-only, no side effects. Returns JSON with merged lines by default; use --raw for plain output. Use to combine columns from separate files into a table. Not for key-based joining — use 'join' for field-matched merging. Not for simple concatenation — use 'cat'. See also 'join', 'cat'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Write pasted text without a JSON envelope. | |
| paths | No | Files to merge, or '-' for stdin. Defaults to stdin. | |
| encoding | No | Text encoding (default: utf-8). Use 'auto' for BOM/autodetection. | utf-8 |
| delimiter | No | Delimiter inserted between columns. | |
| max_lines | No | Maximum JSON lines to emit. | |
| show_encoding | No | Include encoding detection metadata in JSON result. | |
| encoding_errors | No | How to handle encoding errors (default: replace). | replace |
| encoding_profile | No | Locale-aware encoding fallback profile for auto-detection. |