[PR #5948] fix: handle Windows CRLF line endings in grep tool #11659

Closed
opened 2026-02-16 18:16:34 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5948

State: closed
Merged: Yes


Summary

  • Uses regex /\r?\n/ to split lines, handling both Unix and Windows line endings
  • Fixes issue where ripgrep output on Windows includes CRLF, causing path parsing failures

Fixes #5946

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5948 **State:** closed **Merged:** Yes --- ## Summary - Uses regex `/\r?\n/` to split lines, handling both Unix and Windows line endings - Fixes issue where ripgrep output on Windows includes CRLF, causing path parsing failures Fixes #5946
yindo added the pull-request label 2026-02-16 18:16:34 -05:00
yindo closed this issue 2026-02-16 18:16:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11659