Task: List Variables Declared in a Bash Script
Task: List Variables Declared in a Bash Script: a task in Terminal-Lego-15k (Harbor dataset). In bash scripting, there are scenarios where you need to list all variables declared within a script and save them to a file. Your task is to create a bash script that demonstrates how to list all…
The task
In bash scripting, there are scenarios where you need to list all variables declared within a script and save them to a file. Your task is to create a bash script that demonstrates how to list all user-defined variables declared in the script and output them in a `VARIABLE=value` format.
Part of PrimeIntellect/Terminal-Lego-15k.