Skip to content

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
Copy Markdown

@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>
Nathan-Schwartz added a commit to Nathan-Schwartz/ticket that referenced this pull request Mar 26, 2026
Replace non-portable [\[\] ] and [\[\]] with [][ ] and [][] so
listing commands (ready, blocked, ls, closed, dep tree, dep cycle,
link, show) produce output on POSIX awk implementations like busybox.

Ports upstream PR wedow#44 (jtolio). Also fixes ticket-ls plugin which
was not covered by upstream.
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