diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-01-15 10:40:36 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-01-15 10:40:36 -0600 |
| commit | a8bc5a353ea997f73209b39377ee15a73e471237 (patch) | |
| tree | 624af7dc3c7e2a7b46995fc1ea824c8129d9b0d9 /scripts | |
| parent | 630ed7d44fd47df09a55be345a86d2a018ba908c (diff) | |
scripts/check_reset.sh: remove
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/check_reset.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/scripts/check_reset.sh b/scripts/check_reset.sh deleted file mode 100755 index 7fb5fac..0000000 --- a/scripts/check_reset.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -git grep -Po '(?<!\.)\b\w+\b(?= <=)' rtl | tr ':' ' ' | while read X; do - A=$(echo "$X" | awk '{ print $1; }') - B=$(echo "$X" | awk '{ print $2; }') - RST="$(grep 'if(!rst_n)' $A)" - OK= - - if echo "$RST" | grep -q begin; then - N=1 - while true; do - R="$(grep -A$N "$RST" "$A")"; - if echo "$R" | grep -q '\<end\>'; then - break - elif echo "$R" | grep -q "$B"; then - OK=1 - break - fi - - N=$((N+1)) - done - else - (grep -A1 "$RST" "$A" | grep -q "$B") && OK=1 - fi - - [ -z "$OK" ] && echo "$A: $B" -done |
