I'm new to Mac usage. It seems that most commands trip over options given after the file names. In linux, which I've used for years, it doesn't matter. On Apple, it does. Is there some setting somewhere or some hack to make commands like ls behave "normal"?
dwilson 0====> ls -l p*
-rw-r--r--@ 1 dwilson owner 184 Jul 29 13:57 poo.c
-rw-r--r--@ 1 dwilson owner 133 Jul 29 13:57 poo.h
dwilson 0====> ls p* -l
ls: -l: No such file or directory
poo.c poo.h
dwilson 1====>
zsh
and a customized environment on linux? You might need to just set that up to get more permissive ordering of arguments. That would make my brain hurt, but if you are used to it - disruptive to change on the mac. – bmike Jul 29 '11 at 21:09ls
clearly shows all arguments must precede the first file. Only the shell could glob the wildcard and sort the arguments first. Hopefully you can identify the linux settings for that shell and migrate those .files to mac. – bmike Jul 30 '11 at 15:40