TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:tmss10csv2fixed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cli:tmss10csv2fixed [2018/05/24 00:48] – [Comma Delimitered CSV] Scott Cunliffecli: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.  Allowable values are TABSEMI-COLONCOLON AND SPACE.+**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  0 8 15 10 30 15 < volumes_comma.csv > volumes_comma_fixed.txt TMSS10CSV2Fixed  0 8 15 10 30 15 < volumes_comma.csv > volumes_comma_fixed.txt
-</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 ===
  
-{{cli:tmss10csv2fixed_comma_output.png)+{{cli:tmss10csv2fixed_comma_output.png}}
  
  
 +----
  
 +==== Tab Delimitered CSV====
 +
 +=== Input File ===
 +
 +{{cli:tmss10csv2fixed_tab_input.png}}
 +
 +=== Command Line Syntax ===
 +
 +<code>
 +set TMSSDELIMITER=TAB
 +TMSS10CSV2Fixed  0 8 15 10 30 15 < volumes_tab.csv > volumes_tab_fixed.txt
 +</code>
 +
 +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>Running TMSS10CSV2Fixed with a file input from stdin and no offsets, will result in output with suggested column offsets to import the data withoout having to count columns and offsets manually.</note>
 +
 +=== Output ===
  
 +{{cli:tmss10csv2fixed_comma_output.png}}
  
 +--> Changelog 
  
 +[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10CSV2Fixed]
 +<--
 +<- ^ cli:introduction|Command Line Utilities^ ->
cli/tmss10csv2fixed.1527122893.txt.gz · Last modified: 2025/01/21 22:07 (external edit)