Let's say I have defined a function abc() that will handle all the logic related to analising the arguments passed to my script.
How can I pass all arguments my bash script has received to it? The number of params is variable, so I can't just hardcode the arguments passed like this:
abc $1 $2 $3 $4
edit: Better yet, is there any way for my function to have access to the script arguments' variables?
Thanks