TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:tmss10page2csv

This is an old revision of the document!


 
 

TMSS10Page2CSV

TMSS10Page2CSV converts a page formatted report to a CSV file.

Synopsis

This program expects a variable number of arguments. Each argument is a string representing a filter, the first filter represents the string that should be considered a page break, while each subsequent argument represents a string that should be considered a record to be extracted.

Options

This program has no options.

Exit Status

  • zero Program has ended successfully.
  • non-zero Program has not ended successfully.

Environment

TMSSBEEP If defined the program will beep whenever an error occurs.

TMSSCHOMP If defined the program will remove the number of characters defined from the beginning of the extracted string.

Files

stdout: Output Reports.
stderr: Diagnostic messages.
stdin: Program input.

Example

Command Line Syntax

set TMSS10CHOMP=32
TMSS10Page2CSV "=*" "Media Status:*" "Data Expiration:*" < "media.txt"

Define TMSSCHOMP to remove the first 32 bytes from extracted string
Set first argument (*=*“) to define page break, any string starting with character =
Extraction filter (“Media Status:*”) for field 1
Extraction filter (“Data Expiration:*”) for field 2
Direct input file media.txt to stdin

Changelog

Cannot load rss feed.
cli/tmss10page2csv.1531426462.txt.gz · Last modified: 2025/01/21 22:07 (external edit)