Skip to content

Comments

fix: use POSIX-compliant awk bracket expressions for busybox compat#44

Open
jtolio wants to merge 1 commit intowedow:masterfrom
jtolio:master
Open

fix: use POSIX-compliant awk bracket expressions for busybox compat#44
jtolio wants to merge 1 commit intowedow:masterfrom
jtolio:master

Conversation

@jtolio
Copy link

@jtolio jtolio commented Feb 19, 2026

[[] ] relies on GNU awk treating backslash as an escape inside bracket expressions. POSIX awk (including busybox) treats backslash literally, causing the regex to silently fail and suppress all output from ready, blocked, ls, and other listing commands. Use [][ ] instead, which is portable across all awk implementations.

[\[\] ] relies on GNU awk treating backslash as an escape inside
bracket expressions. POSIX awk (including busybox) treats backslash
literally, causing the regex to silently fail and suppress all output
from ready, blocked, ls, and other listing commands. Use [][ ] instead,
which is portable across all awk implementations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant