My sample script looks like
#!/bin/bash
VAR="foo"
if [ $VAR etc etc
then etc
...
Is there any way to call the script changing the value of $VAR without writing the script? I would imagine something like
$ bash script.sh -v VAR="bar" (sorry for the invention)