changeset 296:aca11ce8a637

Do this for all values, not just first
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 25 May 2017 10:24:47 +0100
parents c1862b8712ca
children e44936468d86
files tests/include.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/include.sh	Wed May 24 12:55:28 2017 +0100
+++ b/tests/include.sh	Thu May 25 10:24:47 2017 +0100
@@ -34,8 +34,8 @@
     # permit some fuzz in final few digits
     a="$1"
     b="$2"
-    perl -p -e 's/(\d+\.\d{6})\d+/$1/' "$a" > "${a}__"
-    perl -p -e 's/(\d+\.\d{6})\d+/$1/' "$b" > "${b}__"
+    perl -p -e 's/(\d+\.\d{6})\d+/$1/g' "$a" > "${a}__"
+    perl -p -e 's/(\d+\.\d{6})\d+/$1/g' "$b" > "${b}__"
     cmp -s "${a}__" "${b}__"
     rv=$?
     rm "${a}__" "${b}__"