join command for MoonX.
moonx cli/join first.txt second.txt
moonx cli/join -t : -1 1 -2 1 first.txt second.txt| Option | Description |
|---|---|
| -1 VALUE, --field1 VALUE | Choose each file's join field. |
| -2 VALUE, --field2 VALUE | Choose each file's join field. |
| -t VALUE, --separator VALUE | Set a single-byte field separator. |
| -a VALUE, --after VALUE | Include unpaired rows from file 1 or 2. |
| -e VALUE, --empty VALUE | Replace missing or empty fields. Default: "". |
| -o VALUE, --output VALUE | Choose output fields. |
| -i, --ignore-case | Compare keys ignoring ASCII case. |
| -h, --help | Show help. |
| --version | Show the version. |