summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-10-09 19:28:07 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-10-09 19:28:07 (GMT)
commit2c7f74e08812fdcb6d746257be478041a6414b32 (patch)
tree8c99645bb1b8c7c7a6d314df27ae539e2636870d
parent61ab6a6b46adc58142e26c88e0196dfbb3efb9bc (diff)
downloadhdf5-2c7f74e08812fdcb6d746257be478041a6414b32.zip
hdf5-2c7f74e08812fdcb6d746257be478041a6414b32.tar.gz
hdf5-2c7f74e08812fdcb6d746257be478041a6414b32.tar.bz2
[svn-r2642] Purpose:
Bug fix Description: The documentation on how to dump attribute data was not complete enough. Some people got confused on the commandline syntax (you have to specify the "path" from the root group to the attribute to dump it). I put some examples in to show how to correctly dump attributes. Platforms tested: Viewed with Netscrape.
-rw-r--r--doc/html/Tools.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/html/Tools.html b/doc/html/Tools.html
index 2358a67..5830234 100644
--- a/doc/html/Tools.html
+++ b/doc/html/Tools.html
@@ -158,6 +158,25 @@ These tools enable the user to examine HDF5 files interactively.
<dt><em>file</em>
<dd>The file to be examined.
</dl>
+<dt><strong>Examples:</strong>
+ <ol>
+ <li>Dumping the group <code>/GroupFoo/GroupBar</code> in the file
+ <code>quux.h5</code>:
+ <blockquote>
+ <code>h5dump -g /GroupFoo/GroupBar quux.h5</code>
+ </blockquote></li>
+ <li>Dumping the dataset <code>Fnord</code> in the group
+ <code>/GroupFoo/GroupBar</code> in the file <code>quux.h5</code>:
+ <blockquote>
+ <code>h5dump -d /GroupFoo/GroupBar/Fnord quux.h5</code>
+ </blockquote></li>
+ <li>Dumping the attribute <code>metadata</code> of the dataset
+ <code>Fnord</code> which is in group
+ <code>/GroupFoo/GroupBar</code> in the file <code>quux.h5</code>:
+ <blockquote>
+ <code>h5dump -a /GroupFoo/GroupBar/Fnord/metadata quux.h5</code>
+ </blockquote></li>
+ </ol>
<dt><strong>Current Status:</strong>
<dd>The current version of <code>h5dump</code> displays the
following information: