cli:tmss10csv2fixed
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cli:tmss10csv2fixed [2018/05/24 00:39] – [Environment] Scott Cunliffe | cli:tmss10csv2fixed [2025/07/04 04:51] (current) – [Tab Delimitered CSV] Scott Cunliffe | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ===== Options ===== | ===== Options ===== | ||
| - | There are no options. | + | * **-?** Integer pairs denoting string offset and field length |
| ===== Exit Status ===== | ===== Exit Status ===== | ||
| Line 18: | Line 18: | ||
| ===== Environment ===== | ===== Environment ===== | ||
| - | **TMSSDELIMITER** If defined the program will use a delimiter other than the default comma value. | + | **TMSSDELIMITER** If defined the program will use a delimiter other than the default comma value. |
| + | |||
| + | Allowable values are: | ||
| + | * TAB | ||
| + | * SEMI-COLON | ||
| + | * COLON | ||
| + | * SPACE | ||
| ===== Examples ===== | ===== Examples ===== | ||
| Line 24: | Line 30: | ||
| ==== Comma Delimitered CSV==== | ==== Comma Delimitered CSV==== | ||
| - | <sxh> | + | === Input File === |
| + | |||
| + | {{cli: | ||
| + | |||
| + | === Command Line Syntax === | ||
| + | |||
| + | <code> | ||
| + | TMSS10CSV2Fixed | ||
| + | </ | ||
| + | |||
| + | Input file volumes_comma.csv on stdin, output stdout to file volumes_comma_fixed.txt \\ | ||
| + | output column 1 to offset 0, length 8 \\ | ||
| + | output column 2 to offset 15, length 10 \\ | ||
| + | output column 3 to offset 30, length 15 \\ | ||
| + | |||
| + | === Output === | ||
| + | |||
| + | {{cli: | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Tab Delimitered CSV==== | ||
| + | |||
| + | === Input File === | ||
| + | |||
| + | {{cli: | ||
| + | |||
| + | === Command Line Syntax === | ||
| + | |||
| + | < | ||
| + | set TMSSDELIMITER=TAB | ||
| + | TMSS10CSV2Fixed | ||
| + | </ | ||
| + | |||
| + | Input file volumes_tab.csv on stdin, output stdout to file volumes_tab_fixed.txt \\ | ||
| + | output column 1 to offset 0, length 8 \\ | ||
| + | output column 2 to offset 15, length 10 \\ | ||
| + | output column 3 to offset 30, length 15 \\ | ||
| + | <note tip> | ||
| + | === Output === | ||
| + | {{cli: | ||
| + | ===== See Also===== | ||
| + | [[technote/ | ||
| + | --> Changelog | ||
| + | [filterrss http:// | ||
| + | <-- | ||
| + | <- ^ cli: | ||
cli/tmss10csv2fixed.1527122387.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
