aboutsummaryrefslogtreecommitdiffstats
path: root/set_debug.sh
diff options
context:
space:
mode:
Diffstat (limited to 'set_debug.sh')
-rwxr-xr-xset_debug.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/set_debug.sh b/set_debug.sh
index 95a8c74..19bb76c 100755
--- a/set_debug.sh
+++ b/set_debug.sh
@@ -1,4 +1,4 @@
1#!/bin/bash 1#!/bin/bash
2PATTERN="(define debug[a-z_]+\s*)[0-9]+" 2PATTERN="(define debug[a-z_]+\s*)[-0-9]+"
3sed -ri "s/$PATTERN/\\1$1/gi" *.[ch] 3sed -ri "s/$PATTERN/\\1$1/gi" *.[ch]
4grep -HirE "$PATTERN" *.[ch] \ No newline at end of file 4grep -HirE "$PATTERN" *.[ch] \ No newline at end of file