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:48] – [Comma Delimitered CSV] 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 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 30: | Line 36: | ||
=== Command Line Syntax === | === Command Line Syntax === | ||
- | <sxh> | + | <code> |
TMSS10CSV2Fixed | TMSS10CSV2Fixed | ||
- | </sxh> | + | </code> |
+ | |||
+ | 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 === | === Output === | ||
Line 39: | Line 50: | ||
+ | ---- | ||
+ | ==== 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.1527122915.txt.gz · Last modified: 2025/01/21 22:07 (external edit)