From f0194fdde045012da135e16e2df8b8beb367f52f Mon Sep 17 00:00:00 2001 From: Arne H Juul Date: Thu, 17 Mar 2022 14:49:03 +0000 Subject: remove array indexes * from config files in src/test/derived directories * for easier diff * add script for stripping these indexes --- config-model/remove-indexes-from-temp-files.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 config-model/remove-indexes-from-temp-files.sh (limited to 'config-model/remove-indexes-from-temp-files.sh') diff --git a/config-model/remove-indexes-from-temp-files.sh b/config-model/remove-indexes-from-temp-files.sh new file mode 100755 index 00000000000..41feb65d3f0 --- /dev/null +++ b/config-model/remove-indexes-from-temp-files.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +perl -pi -e 's{[[][0-9]*[]][.]}{[].}g;s{[[][0-9]*[]] }{[] }' temp/*/*.cfg -- cgit v1.2.3