Task: Implement Efficient Bash Exit Status Checking for Multiple Commands
Task: Implement Efficient Bash Exit Status Checking for Multiple Commands: a task in Terminal-Lego-15k (Harbor dataset). When running multiple commands in a Bash script, you often need to handle errors efficiently without writing verbose error-checking code after each command. The goal is to…
The task
When running multiple commands in a Bash script, you often need to handle errors efficiently without writing verbose error-checking code after each command. The goal is to create a clean, reusable solution that automatically catches command failures and reports which command failed.
Part of PrimeIntellect/Terminal-Lego-15k.