Skip to content

Fix echo >> append redirect being parsed as > redirect#45

Open
iaewing wants to merge 1 commit into
pixari:mainfrom
iaewing:claude/resolve-issue-43-IbNPR
Open

Fix echo >> append redirect being parsed as > redirect#45
iaewing wants to merge 1 commit into
pixari:mainfrom
iaewing:claude/resolve-issue-43-IbNPR

Conversation

@iaewing
Copy link
Copy Markdown

@iaewing iaewing commented Apr 13, 2026

The >> operator in echo commands was being incorrectly parsed because the > regex matched first, capturing "> file" as the redirect target instead of appending to "file". Fix by checking >> before > and adding a negative lookahead to the > pattern so it doesn't match >>.

Fixes #43

The >> operator in echo commands was being incorrectly parsed because
the > regex matched first, capturing "> file" as the redirect target
instead of appending to "file". Fix by checking >> before > and adding
a negative lookahead to the > pattern so it doesn't match >>.

Fixes pixari#43

https://claude.ai/code/session_01HoJy5MNq1ePZXgubLzWm8x
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.

ACT 0 — LV 2 The Scroll Keeper - append candles:50 does not work

2 participants