diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-04-30 22:37:06 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-04-30 22:37:06 (GMT) |
commit | a306b38d670cbc0f040debccf55209fe0739243e (patch) | |
tree | 6c392637116dca68fc2cd6e5f50b6961308df832 /tools/testfiles | |
parent | 60754030c75ad737d5b09af1cdfba4b4e153effd (diff) | |
download | hdf5-a306b38d670cbc0f040debccf55209fe0739243e.zip hdf5-a306b38d670cbc0f040debccf55209fe0739243e.tar.gz hdf5-a306b38d670cbc0f040debccf55209fe0739243e.tar.bz2 |
[svn-r6785] Purpose:
Feature Add
Description:
It's now possible to print out characters as actual characters
instead of their decimal equivalent numbers. It's the same thing that
h5ls does. The flag to do this is "--string" or "-r".
Platforms tested:
Verbena (Fortran & C++)
Arabica (Fortran)
Modi4 (Fortran & Parallel)
Misc. update:
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/tchar.h5 | bin | 0 -> 2356 bytes | |||
-rw-r--r-- | tools/testfiles/tchar1.ddl | 18 | ||||
-rw-r--r-- | tools/testfiles/tnofilename.ddl | 1 |
3 files changed, 19 insertions, 0 deletions
diff --git a/tools/testfiles/tchar.h5 b/tools/testfiles/tchar.h5 Binary files differnew file mode 100644 index 0000000..03bd6d5 --- /dev/null +++ b/tools/testfiles/tchar.h5 diff --git a/tools/testfiles/tchar1.ddl b/tools/testfiles/tchar1.ddl new file mode 100644 index 0000000..29842c3 --- /dev/null +++ b/tools/testfiles/tchar1.ddl @@ -0,0 +1,18 @@ +############################# +Expected output for 'h5dump -r tchar.h5' +############################# +HDF5 "tchar.h5" { +GROUP "/" { + DATASET "Dataset1" { + DATATYPE H5T_STD_I8LE + DATASPACE SIMPLE { ( 308 ) / ( 308 ) } + DATA { + "Four score and seven years ago our forefathers brought forth on this " + "continent a new nation, conceived in liberty and dedicated to the pro" + "position that all men are created equal. Now we are engaged in a grea" + "t civil war, testing whether that nation or any nation so conceived a" + "nd so dedicated can long endure." + } + } +} +} diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl index 213ff4c..8a72382 100644 --- a/tools/testfiles/tnofilename.ddl +++ b/tools/testfiles/tnofilename.ddl @@ -7,6 +7,7 @@ usage: h5dump [OPTIONS] file -B, --bootblock Print the content of the boot block -H, --header Print the header only; no data is displayed -i, --object-ids Print the object ids + -r, --string Print 1-bytes integer datasets as ASCII -V, --version Print version number and exit -a P, --attribute=P Print the specified attribute -d P, --dataset=P Print the specified dataset |