Task: Check if Command Output Contains a Specific String
Task: Check if Command Output Contains a Specific String: a task in Terminal-Lego-15k (Harbor dataset). Write a shell script that checks if the output of a command contains a certain string and takes action based on the result.
The task
Write a shell script that checks if the output of a command contains a certain string and takes action based on the result.
Part of PrimeIntellect/Terminal-Lego-15k.