| HDFED(1) | General Commands Manual | HDFED(1) |
hdfed - edit the contents of an HDF File
hdfed [-nobackup] [-batch] hdf_file
hdfed allows experienced HDF users to manipulate the elements of an HDF file. These manipulations include
hdfed is designed primarily for users who need to know about HDF files at the level of individual data elements. It is not designed to provide a comprehensive high-level view of the contents of an HDF file - other tools and utilities should be used for that purpose. To use hdfed one should be familiar with the components of an HDF file covered in the HDF Specifications manual.
The hdfed utility is loosely modeled on ed(1), the UNIX line editor. When hdfed is invoked, it prompts the user for commands, as does ed. Also, basic command syntax and description information is available to the user through hdfed. The most common hdfed commands are used to control the position in the HDF file and the format of the information provided.
The initial view of the file under hdfed consists of a set of tag/reference number pairs. Although hdfed allows modification of tags and reference numbers within strict constraints, it will not allow the user to arbitrarily modify binary data in the file.
The following terms and concepts must be understood in order to use hdfed correctly and will be used in the following discussion about hdfed.
Once an HDF file has been opened by hdfed, the following operations can be performed on the data file, among others:
hdfed commands are documented in the Users Guide section on Command-line Utilities.
#!/bin/csh -f
set file=$1
shift
hdfed -batch $file -nobackup << EOF
info -all group $*
close
quit
EOF
echo ""
hdf(5), ed(1), The HDF Users Guide: /usr/share/doc/libhdf4g/html-userguide/Utils2.html#33.
| October 31, 1999 |