Skip to content

Fix grep repetition count exhaustion#64

Open
txgk wants to merge 1 commit into
LuRsT:masterfrom
txgk:fix-grep-repetition-count-exhaustion
Open

Fix grep repetition count exhaustion#64
txgk wants to merge 1 commit into
LuRsT:masterfrom
txgk:fix-grep-repetition-count-exhaustion

Conversation

@txgk
Copy link
Copy Markdown
Contributor

@txgk txgk commented May 28, 2026

Fixes the grep repetition count issue discussed in #63 by replacing grep-based truncation with cut. This avoids regex repetition limits on systems where grep enforces a hard maximum. Credit to @senki for the original idea.

Closes: #63

Co-authored-by: Csaba Maulis <hello@senki.xyz>
@glawrence
Copy link
Copy Markdown

This works very nicely in zsh 5.9

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.

Invalid repetition pattern

2 participants