HF RL Explorer

Task: Implement Bash Script Error Handling with Automatic Exit on First Failure

Task: Implement Bash Script Error Handling with Automatic Exit on First Failure: a task in Terminal-Lego-15k (Harbor dataset). In bash scripting, by default, when a command fails, the script continues executing subsequent commands. This can lead to cascading errors and unexpected behavior. Your…

The task

In bash scripting, by default, when a command fails, the script continues executing subsequent commands. This can lead to cascading errors and unexpected behavior. Your task is to create a bash script that automatically stops execution when the first command fails, without having to manually add `|| exit 1` after…

Part of PrimeIntellect/Terminal-Lego-15k.