EDDA utilities: HBOOK an histogram handling

EDDA Programs/Utilities: HBOOK and histogram handling

Please refer to the online help via
program_name -?
for the currently supported command line options. This file will never be up-to-date
New: YZ file format supported wher HBOOKfile is specified below!
"rzfileContents HBOOKfile "
list contents of HBOOK (or rz) files. To sort in ascending order use rzfileContents HBOOKfile | sort -n
"pawRzfileContents -I file [-f #] [-t #]"
list contents of HBOOK file file with some more information than rzfileContents . Scans histogram numbers starting at 1 and never stops (use ^C to abort) except when -t option is used. -f and -t options (from/to) are used to specify a range of histogram IDs to scan.
"copyPawRzfile -I ifile -O ofile [-f #] [-t #] [-s #] [-n #] [-a]"
copies all histograms between the ID specified by -f and -t from file ifile to ofile. Copied histograms carry IDs starting at the value given in the -s option. The -n specifies the number of histograms to copy and can be used instead of -t. If -a is specified the ouput is appended to an existing file otherwise a new file is created.
getFirstHbookId [ -? ] HBOOKfile
returns lowest HBOOK ID in HBOOKfile
getLastHbookId [ -? ] HBOOKfile
returns highest HBOOK ID in HBOOKfile