On 2009-02-17 20:09+0100 Werner Smekal wrote: > Hi Alan, > >> For the record, what platform produced the above result? >> > Ubuntu 8.10 (32-bit). Windows as well, although differences are found for > example 14 in the standard output - which I can't confirm, since the output > is identical (tested with winmerge). I think the script needs further > modifications.
Hi Werner (off list): winmerge is probably not exactly what the script does. Follow the script by hand to see exactly what is going on. The actual test of stdout differences is implemented this way: @DIFF_EXECUTABLE@ -q x${xsuffix_c}${index}c_psc.txt x${xsuffix}${index}${suffix}_psc.txt 2>&1 > /dev/null if [ $? != 0 ] ; then .... where @DIFF_EXECUTABLE@ is replaced by whatever is configured on your windows platform for diff, ${xsuffix} is empty, ${index} is 14 and ${suffix} is lua. I would also drop the -q option and the 2>&1 > /dev/null so you can see exactly what the differences are. Furthermore, you find out what the $? variable is (the return code from the programme run immediately previously) by simply immediately echoing it. That return code should be zero if the two files are absolutely identical and no other problems occurred. So assuming the name of @DIFF_EXECUTABLE@ is diff, doing the test by hand boils down to diff x14c_psc.txt x14lua_psc.txt echo $? Good luck figuring this out. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel