diff options
author | Peter Cao <xcao@hdfgroup.org> | 2012-03-12 21:27:11 (GMT) |
---|---|---|
committer | Peter Cao <xcao@hdfgroup.org> | 2012-03-12 21:27:11 (GMT) |
commit | fcf96afeb24119690187ac3907d23070f0ba99d1 (patch) | |
tree | bc32b923260a7d42dca3f14df655c87762fcf48a /tools/testfiles/tattr-3.ddl | |
parent | d7f3dc097ef2c8ced8068879044ce6b9fdd9936e (diff) | |
download | hdf5-fcf96afeb24119690187ac3907d23070f0ba99d1.zip hdf5-fcf96afeb24119690187ac3907d23070f0ba99d1.tar.gz hdf5-fcf96afeb24119690187ac3907d23070f0ba99d1.tar.bz2 |
[svn-r22052] - h5dump: Added capability for "-a" option to show attributes containing "/"
by using an escape character. For example, for a dataset "/dset"
containing attribute "speed(m/h)", use "h5dump -a "/dset/speed(\/h)"
to show the content of the attribute. See details at HDFFV-7523
Diffstat (limited to 'tools/testfiles/tattr-3.ddl')
-rw-r--r-- | tools/testfiles/tattr-3.ddl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testfiles/tattr-3.ddl b/tools/testfiles/tattr-3.ddl index c0dd123..a19f69a 100644 --- a/tools/testfiles/tattr-3.ddl +++ b/tools/testfiles/tattr-3.ddl @@ -1,9 +1,9 @@ HDF5 "tattr.h5" { -ATTRIBUTE "/attr2" { +ATTRIBUTE "attr2" { DATATYPE H5T_STD_I32BE DATASPACE SIMPLE { ( 10 ) / ( 10 ) } } -ATTRIBUTE "/attr" { +ATTRIBUTE "attr" { } } HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs): @@ -13,4 +13,4 @@ HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs): #001: (file name) line (number) in H5O_attr_open_by_name(): can't locate attribute: 'attr' major: Attribute minor: Object not found -h5dump error: unable to open attribute "/attr" +h5dump error: unable to open attribute "attr" |