HF RL Explorer

Task: Create a Concise Environment Variable Checker Script

Task: Create a Concise Environment Variable Checker Script: a task in Terminal-Lego-15k (Harbor dataset). You need to create a Unix shell script that checks whether required environment variables are set before proceeding with the main script logic. The goal is to find a more elegant and concise…

The task

You need to create a Unix shell script that checks whether required environment variables are set before proceeding with the main script logic. The goal is to find a more elegant and concise idiom compared to writing repetitive `if [ -z "$VAR" ]` blocks for each variable.

Part of PrimeIntellect/Terminal-Lego-15k.