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

Поисковые слова: р п р п р п р п р п р п р п р п п п р п р п п р п р п п р п р п п р п р п п р п р п п р п
Content-type: text/html Manpage of STRIPVME

STRIPVME

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

NAME

stripVme - strip hdrs or data from datataking recs (ao)  

SYNOPSIS

stripVme [ -dhq ] [ -f firstScanNumber ] [ -l lastScanNumber ] [ -g firstGroup lastGroup ] [ -o ordinalScanToStart ] [ -n numberOfScans ]  

DESCRIPTION

Standard Arecibo datataking records contain a header followed by data. stripVme will select a subset of scans and records within a file and strip off the headers, data, or neither. The input is taken from standard input and the output is written to stdout.

A selection criteria allows creating a subset of the file. For a record to be output it must satisfy all of these criteria. With options -f and -l you can specify the first and last scan numbers to include. Option -o choses the ordinal scan to start with (counting from 1) while option -n sets the maximum number of scans to output. Option -g will pick a subset of records within each matched scan.  

OPTIONS

-d
Strip off the data passing only the headers.
-h
Strip off the headers passing only the data.
-q
Run quietly not outputing the current record number to stderr.
-f firstScanNumber
The first scan number to start processing.
-l lastScanNumber
The last scan number to process.
-g firstGroup lastGroup
The first, last record within each scan to output.
-o ordinalScan
The ordinal scan within the file to start with (count from 1).
-n numberOfScans
The number of scans to process.
 

EXAMPLES

Strip off the data passing the headers, then convert the headers to ascii.

stripVme -d < inputfile|printhdrV|more

Output the data from records 5 through 10 of scans 919300005 through 919300012.

stripVme -h -f 919300005 -l 919300012 < inputfile > outputfile

Output the data from the third through seventh scans.

stripVme -h -o 3 -n 5 < inputfile > outputfile

 

FILES

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

SEE ALSO

printhdrV(1L)  

DIAGNOSTICS

stripVme checks each header for the header keyword to make sure it has not lost its place in the file.  

BUGS

stripVme can read from disc or a pipe. To input from tape you should pipe dd into stripVme.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
FILES
SEE ALSO
DIAGNOSTICS
BUGS

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