In bash, I am not sure if my observation is correct. For most commands, option-like arguments, i.e. arguments that begin with
-a, can be anywhere in the list of arguments to the command, while other arguments have some fixed position in the list of arguments.
I was wondering if there are some written/unwritten rules about this? Thanks!