John Summerfield <[EMAIL PROTECTED]> writes:
| [summer@possum egcs-1.1.2]$ ls --full-time -time ctime /u03/*/* -rdt
| Try `ls --help' for more information.
| [summer@possum egcs-1.1.2]$
|
| The command
|       ls --full-time  /u03/*/* -rdt
| produces the expected report.

Thanks for the report.
That's a bug even in the latest test release.
Here's a fix:

  $ ./ls --full-time -time ctime /u03/*/* -rdt
  ./ls: invalid option -- e
  Try `./ls --help' for more information.
  [Exit 1]

Index: ls.c
===================================================================
RCS file: /fetish/fileutils/src/ls.c,v
retrieving revision 1.208
diff -u -p -r1.208 ls.c
--- ls.c        1999/12/19 10:23:26     1.208
+++ ls.c        2000/02/29 15:19:14
@@ -981,7 +981,7 @@ decode_switches (int argc, char **argv)
     }
 
   while ((c = getopt_long (argc, argv,
-                          "abcdefghiklmnopqrstuvw:xABCDFGHI:LNQRST:UX1",
+                          "abcdfghiklmnopqrstuvw:xABCDFGHI:LNQRST:UX1",
                           long_options, NULL)) != -1)
     {
       switch (c)

Reply via email to