My question is pretty straight forward but it seems like I can't seem to be able to find an answer with google :(
How do I specify parameters for a function with - parameter for a function I wrote.
For example I wrote this .sh file for bash but it will take 5-6 inputs so it is likely that a user might mess up the order. so how can I make the function run like:
function -m [email protected] -d dataset.csv -f filter ...
instead of having to write all the parameters in right order for $1, $2, etc.
Thanks