I want to create a bash alias setting that needs to place the first input argument in a specific location and then any/all the remaining ones on the end.
I can write it as so
alias dkritbsh "docker run --interactive --tty $1 /bin/bash $2 $3 $4 $5 $6 $7 $8 $9"
and having been testing and searching around for if its possible to author something like this
I can write it as so
alias dkritbsh "docker run --interactive --tty $1 /bin/bash $[2..9]"
as i can in powershell. i've tried using $(2..9)
and $2..$9
as well with no luck.
Is this even doable in bash script alias settings?