Suppose I need a script, which removes a few specific arguments from the argument list and echo the rest. For instance:
The script is myscript.bash
and the arguments to remove are b
and e
.
> myscript.bash a b c d e f a c d f > myscript.bash a b c a c > myscript.bash b e
How would you write such a script ?