Right but ls calls getopt – and determines the meaning of the values provided.<p>After a glob, of say, * .txt, and let&#x27;s say there are a.txt, b.txt and c.txt, if I call<p>ls * .txt -ltra<p>it expands to ls a.txt b.txt c.txt -ltra<p>In POSIX it expects options to appear before files, see: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Getopt#Example_1_.28using_POSIX_standard_getopt.29" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Getopt#Example_1_.28using_POSI...</a><p>Trust me, I wish this were not adhered to, but it is.