HF RL Explorer

Task: Delete All Lines Starting From a Matching Line in a File

Task: Delete All Lines Starting From a Matching Line in a File: a task in Terminal-Lego-15k (Harbor dataset). You need to write a shell script that deletes a specific line and all lines after it from a text file. Given a file containing multiple lines of text and a search string that matches one…

Part of PrimeIntellect/Terminal-Lego-15k.