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:11] – [Synopsis] Scott Cunliffe | cli:tmss10csv2fixed [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 9: | Line 9: | ||
===== Options ===== | ===== Options ===== | ||
- | There are no options. | + | * **-?** Integer pairs denoting string offset and field length |
===== Exit Status ===== | ===== Exit Status ===== | ||
Line 16: | Line 16: | ||
* **non-zero** Program has not ended successfully. | * **non-zero** Program has not ended successfully. | ||
+ | ===== Environment ===== | ||
+ | **TMSSDELIMITER** If defined the program will use a delimiter other than the default comma value. | ||
+ | Allowable values are: | ||
+ | * TAB | ||
+ | * SEMI-COLON | ||
+ | * COLON | ||
+ | * SPACE | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | ==== Comma Delimitered CSV==== | ||
+ | |||
+ | === Input File === | ||
+ | |||
+ | {{cli: | ||
+ | |||
+ | === Command Line Syntax === | ||
+ | |||
+ | < | ||
+ | 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: | ||
+ | |||
+ | --> Changelog | ||
+ | |||
+ | [filterrss http:// | ||
+ | <-- | ||
+ | <- ^ cli: |
cli/tmss10csv2fixed.1527120663.txt.gz · Last modified: 2025/01/21 22:07 (external edit)