summaryrefslogtreecommitdiff
path: root/ar/.local/bin
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-03-07 14:10:22 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-03-07 14:10:22 +0900
commit008c7ba0548bd0ba1d73cb77b7f3b297d9b923fa (patch)
tree850f85403fd3352a1b7ef83c090bc87c57c0b10b /ar/.local/bin
parent7ebbdca25382d5ebf48a6064f5fb196df545f21b (diff)
modified bin/extractkeysHEADmaster
Diffstat (limited to 'ar/.local/bin')
-rwxr-xr-xar/.local/bin/extractkeys2
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.local/bin/extractkeys b/ar/.local/bin/extractkeys
index 4e4e5b4..fc39a8d 100755
--- a/ar/.local/bin/extractkeys
+++ b/ar/.local/bin/extractkeys
@@ -45,7 +45,7 @@ for file_path in "${config_files[@]}"; do
fi
echo ".LI" >>"$temp_file_before"
- awk 'BEGIN {flag=0} /static[[:space:]]+(const[[:space:]]+)?(Keychord|Shortcut)[[:space:]]+(*keychords|shortcuts)[[:space:]]*\[\][[:space:]]*=[[:space:]]*{/ {flag=1} /\};/ {flag=0} flag' "$file_path" | while read -r line; do
+ awk 'BEGIN {flag=0} /static[[:space:]]+(const[[:space:]]+)?(Keychord|Shortcut)[[:space:]]+(\*keychords|shortcuts)[[:space:]]*\[\][[:space:]]*=[[:space:]]*{/ {flag=1} /\};/ {flag=0} flag' "$file_path" | while read -r line; do
if [[ "$line" =~ \/\*.*\*\/ || "$line" =~ .*\"\\.* || "$line" =~ ^$ || "$line" =~ STACKKEYS || "$line" =~ TAGKEYS || "$line" =~ static\ Keychord\ \*keychords || "$line" =~ static\ Shortcut\ \shortcuts || "$line" =~ ^\#.* ]]; then
continue
fi