Files
guyoron1 34a0f0e5c0 fix(grep): only insert -- separator when context flags are active
Native grep only prints -- between non-adjacent match blocks when
-A/-B/-C context is requested. The grouped output path was inserting
-- on any line-number gap unconditionally, so `rtk grep -rn todo`
invented separators between every match that grep never emits.

Gate the insertion on has_context_flag() which checks for -A/-B/-C
and their long-form equivalents.
2026-07-06 09:21:11 +03:00
..