From 231e8a2e96a05d39f7cb98f317ab400ba6375826 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Tue, 15 Jun 1999 21:06:25 -0500 Subject: [svn-r1352] Changed the '\n' argument to '\012' since some other machines (solaris, irix) misinterpreted it to mean deleting the letter 'n'. Tested in IRIX and solaris and FreeBSD machines. --- tools/testh5dump.sh | 2 +- tools/testh5toh4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testh5dump.sh b/tools/testh5dump.sh index 1110fa4..0705107 100755 --- a/tools/testh5dump.sh +++ b/tools/testh5dump.sh @@ -18,7 +18,7 @@ mkdir testfiles >/dev/null 2>&1 TESTING() { SPACES=" " - echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\n' + echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\012' } # Run a test and print PASS or *FAIL*. If a test fails then increment diff --git a/tools/testh5toh4 b/tools/testh5toh4 index d255e3d..97586d7 100644 --- a/tools/testh5toh4 +++ b/tools/testh5toh4 @@ -38,7 +38,7 @@ verbose=yes TESTING() { SPACES=" " - echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\n' + echo "Testing $* $SPACES" |cut -c1-70 |tr -d '\012' } # Run a test and print PASS or *FAIL*. If a test fails then increment -- cgit v0.12