We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58137f commit 6f179e9Copy full SHA for 6f179e9
t/iterate-rules.sh
@@ -0,0 +1,7 @@
1
+#!/bin/bash
2
+# Debugging tool for identifying which rules cause what output
3
+# Usage: iteraterules.sh /path/to/rules/file /path/to/code
4
+for x in `seq 0 $(wc -l "$1"|cut -d' ' -f1)`; do
5
+ echo -n "$1 +$x - "
6
+ head -$x "$1" | tail -1 | graudit -B -d - "$2" | wc -l
7
+done
0 commit comments