HF RL Explorer

Task: Using sed to Delete Lines Between Two Matching Patterns

Task: Using sed to Delete Lines Between Two Matching Patterns: a task in Terminal-Lego-15k (Harbor dataset). Use the sed command to delete all lines that appear between lines starting with and lines starting with $ , while keeping the marker lines themselves intact.

The task

Use the `sed` command to delete all lines that appear **between** lines starting with `#` and lines starting with `$`, while keeping the marker lines themselves intact.

Part of PrimeIntellect/Terminal-Lego-15k.