Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.naic.edu/~phil/aosoft/printhdrV.html
Дата изменения: Thu Nov 4 00:00:09 2010
Дата индексирования: Tue Oct 2 05:36:13 2012
Кодировка:

Поисковые слова: 3
Content-type: text/html Manpage of PRINTHDRV

PRINTHDRV

Section: Misc. Reference Manual Pages (1L)
Updated: 16 August 1999
Index Return to Main Contents
 

NAME

printhdrV - print datataking headers in ASCII (ao)  

SYNOPSIS

printhdrV [ -s ]  

DESCRIPTION

printhdrV is a program to convert ao datataking headers from binary to ASCII, format them with labels, and then output this data to the standard output. The input is taken from the standard input and should consist of one or more binary headers. Each line of formatted output will contain multiple hdrlabel:hdrvalue ASCII strings.

Arecibo datataking records contain a header followed by the data. The data portion of the record must be removed before sending the record to printhdrV (see stripVme(1L)). The header contains multiple sections: standard, input, iflo, output, etc... If the -s option is used then only the standard header section will be output.  

OPTIONS

-s
Only output the standard header section.
 

EXAMPLES

printhdrV can be used in conjuction with the stripVme(1l) and grep(1) programs to dump the headers of datataking tapes to the screen or a file. Some examples are listed below.

Read the first file on a standard datatape and dump the headers to the screen.

dd if=/dev/nrst12 bs=64k|stripVme -d|printhdrV|more

Print out the scan number of each record.

stripVme -d < inputfile|printhdrV -s|grep "Scan:"|more
 

FILES

~phil/util/filters/printhdrV.c location of source code
 

SEE ALSO

stripVme(1L)  

DIAGNOSTICS

The program expects the header label to be in location 1. If an invalid label is found an error message will be output. This usually occurs when you forget to strip the data portion of the record from the headers.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
FILES
SEE ALSO
DIAGNOSTICS

This document was created by man2html, using the manual pages.
Time: 21:00:09 GMT, November 03, 2010