I made a script that simply editing a text file and saves it, I wanted to make that the arguments worked regardless of the position entered.
ex: command_name load edit == command_name edit load
I do not know how to do it though, I tried using case/esac and if/fi, however, does not work well, would you help me?http://nopaste.info/06e4722ddd.html
P.s. seems long but it's just that I repeated all the action for each case $1, case $2 ...