bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: maciek n
Subject: ls -f -A options used in different order gives different results
Date: Thu, 5 Jul 2001 22:29:23 +0200

ls from gnu fileutils 4.0p

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

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

address@hidden 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 )

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

address@hidden 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 >




reply via email to

[Prev in Thread] Current Thread [Next in Thread]