I have a complex command that I\'d like to make a shell/bash script of. I can write it in terms of $1 easily:
$1
foo $1 args -o $1.ext
You can also access them as an array elements, for example if you don't want to iterate through all of them
argc=$# argv=("$@") for (( j=0; j