ls from gnu fileutils 4.0p

ls -f -A options used in different order gives different results

[root@localhost root]# ls -f -A /tmp
x/  test/  .X0-lock  .X11-unix/  orbit-root/  .font-unix/  whatis724/

[root@localhost root]# ls -A -f /tmp
/  ../  x/  test/  .X0-lock  .X11-unix/  orbit-root/  .font-unix/  
whatis724/


ls -U -A and ls -A -U works as expected.


The same problem is with ls -a -A  ( becuse -f enable -a )

[root@localhost root]# ls -a -A /tmp
X0-lock  .X11-unix/  .font-unix/  orbit-root/  test/  whatis724/  x/

[root@localhost root]# ls -A -a /tmp
/  ../  .X0-lock  .X11-unix/  .font-unix/  orbit-root/  test/  
whatis724/  x/


It would be better to report ambigous options error or
enforce -A when used


Maciek

-----------------------------------------------------------------------
Duża dawka najlepszego jazzu - Gdynia Summer Jazz Days < http://abc.wp.pl/gsjd >


_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to