diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-03-07 14:10:22 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-03-07 14:10:22 +0900 |
| commit | 008c7ba0548bd0ba1d73cb77b7f3b297d9b923fa (patch) | |
| tree | 850f85403fd3352a1b7ef83c090bc87c57c0b10b /ar | |
| parent | 7ebbdca25382d5ebf48a6064f5fb196df545f21b (diff) | |
Diffstat (limited to 'ar')
| -rwxr-xr-x | ar/.local/bin/extractkeys | 2 |
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 |
