summaryrefslogtreecommitdiffstats
path: root/arts/examples/checknames.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arts/examples/checknames.sh')
-rwxr-xr-xarts/examples/checknames.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/arts/examples/checknames.sh b/arts/examples/checknames.sh
new file mode 100755
index 00000000..8806a9fd
--- /dev/null
+++ b/arts/examples/checknames.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+echo "This script searches for improperly named .arts structures:" >&2
+
+for i in *.arts
+do
+ grep ^name=$(echo $i|sed s/.arts//g) $i >/dev/null || echo $i
+done
+
+echo "... done" >&2