Update the documentation for kgtk cat.
@@ -20,8 +20,7 @@ Optionally, the output can be written in a selection of other formats.
```bash
usage: kgtk cat [-h] [-i INPUT_FILE [INPUT_FILE ...]] [-o OUTPUT_FILE]
- [--output-format {csv,json,json-map,json-map-compact,jsonl,jsonl-map,jsonl-map-compact,kgtk,md}]
- [-v]
+ [--output-format {csv,json,json-map,json-map-compact,jsonl,jsonl-map,jsonl-map-compact,kgtk,md,tsv,tsv-csvlike,tsv-unquoted,tsv-unquoted-ep}] [-v]
[INPUT_FILE [INPUT_FILE ...]]
Concatenate two or more KGTK files, merging the columns appropriately. All files must be KGTK edge files or all files must be KGTK node files (unless overridden with --mode=NONE).
@@ -30,8 +29,7 @@ Additional options are shown in expert help.
kgtk --expert cat --help
positional arguments:
- INPUT_FILE KGTK input files (May be omitted or '-' for stdin.) (Deprecated, use
- -i INPUT_FILE)
+ INPUT_FILE KGTK input files (May be omitted or '-' for stdin.) (Deprecated, use -i INPUT_FILE)
optional arguments:
-h, --help show this help message and exit
@@ -39,7 +37,7 @@ optional arguments:
KGTK input files (May be omitted or '-' for stdin.)
-o OUTPUT_FILE, --output-file OUTPUT_FILE
The KGTK output file. (May be omitted or '-' for stdout.)
- --output-format {csv,json,json-map,json-map-compact,jsonl,jsonl-map,jsonl-map-compact,kgtk,md}
+ --output-format {csv,json,json-map,json-map-compact,jsonl,jsonl-map,jsonl-map-compact,kgtk,md,tsv,tsv-csvlike,tsv-unquoted,tsv-unquoted-ep}
The file format (default=kgtk)
-v, --verbose Print additional progress messages (default=False).
@@ -58,6 +56,10 @@ optional arguments:
| jsonl | .jsonl | JSON lines of lists of strings with column header line. |
| jsonl-map | (none) | JSON lines of maps from column names to string values. |
| jsonl-map-compact | (none) | JSON lines of maps from column names to string values with empty values suppressed. |
+| tsv | (none) | Tab separated values. Dates have their sigils removed, and strings have the backslash escape removed before pipes. |
+| tsv-csvlike | (none) | Tab separated values. Dates have their sigils removed, and strings are transformed into CSV-like double quoted strings, losing the language code if present. |
+| tsv-unquoted | (none) | Tab separated values. Dates have their sigils removed, and strings have their content exposed without quotes and without escapes before pipes. |
+| tsv-unquoted-ep | (none) | Tab separated values. Dates have their sigils removed, and strings have their content exposed without quotes ; pipes retain their preceeding escapes. |
## Examples
