summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tnofilename.ddl
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-05-05 20:06:22 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-05-05 20:06:22 (GMT)
commit26d880217ba085053abb0e26be737b6eb35e6c96 (patch)
treea08dcbd55bfcb18cb46152e1d99527e66f2fc312 /tools/testfiles/tnofilename.ddl
parent5bd2405c11837865b6d7c54e30933dbc0b43c938 (diff)
downloadhdf5-26d880217ba085053abb0e26be737b6eb35e6c96.zip
hdf5-26d880217ba085053abb0e26be737b6eb35e6c96.tar.gz
hdf5-26d880217ba085053abb0e26be737b6eb35e6c96.tar.bz2
[svn-r14934] Add a test for the floating point user defined printf format
Usage is -m T, --format=T Where T - is a string containing the floating point format, e.g '%.3f' The test consists of writing a number with 7 fractional digits (default precision display of %f is 6 digits) and have the 7 digits displayed with -m %.7f fpformat.h5 Tested: windows, linux, solaris Note: the output file was generated in linux, it may be possible that platforms other than the ones tested have a different representation of the number
Diffstat (limited to 'tools/testfiles/tnofilename.ddl')
-rw-r--r--tools/testfiles/tnofilename.ddl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl
index b7b802b..4b6e13a 100644
--- a/tools/testfiles/tnofilename.ddl
+++ b/tools/testfiles/tnofilename.ddl
@@ -23,6 +23,7 @@ usage: h5dump [OPTIONS] file
-b B, --binary=B Binary file output, of form B
-t P, --datatype=P Print the specified named datatype
-w N, --width=N Set the number of columns of output
+ -m T, --format=T Set the floating point output format
-q Q, --sort_by=Q Sort groups and attributes by index Q
-z Z, --sort_order=Z Sort groups and attributes by order Z
-x, --xml Output in XML using Schema
@@ -52,6 +53,7 @@ usage: h5dump [OPTIONS] file
F - is a filename.
P - is the full path from the root group to the object.
N - is an integer greater than 1.
+ T - is a string containing the floating point format, e.g '0.000'
L - is a list of integers the number of which are equal to the
number of dimensions in the dataspace being queried
U - is a URI reference (as defined in [IETF RFC 2396],