Add a 'trace' mode (must be enabled at build time) that saves the
[tatoo.git] / tools / add_onclick.sh
diff --git a/tools/add_onclick.sh b/tools/add_onclick.sh
new file mode 100755 (executable)
index 0000000..89ba0f7
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cat "$1" | sed -e "s/id=\\(\"node[0-9]*\"\\)/id=\\1 onclick='activate(\\1);' /"