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 01:06] – [Environment] Scott Cunliffecli:tmss10csv2fixed [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 9: Line 9:
 ===== Options ===== ===== Options =====
  
-  * **-?** integer pairs denoting string offset and field length+  * **-?** Integer pairs denoting string offset and field length
  
 ===== Exit Status ===== ===== Exit Status =====
Line 36: 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 on stdin, output stdout to file volumes_comma_fixed.txt \\+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 1 to offset 0, length 8 \\
 output column 2 to offset 15, length 10 \\ output column 2 to offset 15, length 10 \\
Line 60: Line 60:
 === Command Line Syntax === === Command Line Syntax ===
  
-<sxh>+<code>
 set TMSSDELIMITER=TAB set TMSSDELIMITER=TAB
 TMSS10CSV2Fixed  0 8 15 10 30 15 < volumes_tab.csv > volumes_tab_fixed.txt TMSS10CSV2Fixed  0 8 15 10 30 15 < volumes_tab.csv > volumes_tab_fixed.txt
-</sxh>+</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 === === Output ===
Line 69: Line 76:
 {{cli:tmss10csv2fixed_comma_output.png}} {{cli:tmss10csv2fixed_comma_output.png}}
  
 +--> Changelog 
  
 +[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10CSV2Fixed] 
 +<-- 
 +<- ^ cli:introduction|Command Line Utilities^ ->
cli/tmss10csv2fixed.1527123984.txt.gz · Last modified: 2025/01/21 22:07 (external edit)