I have two scripts: aaa and bbb.
Each script has some arguments. Argument can be string, number or has format like --some-action or like --name=foo.
Script aaa execute script bbb. Some arguments for bbb generated in aaa, but some arguments I can manually add from executing script aaa like:
$ aaa "arguments for aaa" "arguments for bbb"
I can not pass to bbb all arguments of aaa, because bbb has control to unknown arguments.
I do not know how extract "arguments for bbb" in aaa script. Can anybody help me?
So, I want to execute in aaa:
bbb "some arguments from aaa" "arguments for bbb"