I have shell script that pass arguments to script, like this:
script.sh argA argB arg1 arg2 arg3 argN
ArgA and ArgB consider for name and family.
Arg1 ... argN are phone numbers. (Maybe 1 to N depend to user input)
Here is my script:
for var in "$@" do echo "$var" done
"$@" pass all arguments, but I need do this from third argument and use ArgA, ArgB somewhere else in my script.