[EMAIL PROTECTED] (Bob Proulx) writes:

> Jim Meyering wrote:
>> I think that such an `@' would be redundant, coming just before
>> the `->' indicator.  Solaris 5.9's /bin/ls also does not display
>> the `@' there.  Why waste valuable screen real estate?
>
> You have a strong argument for the @ being redundant since you can
> clearly see the -> there.  You have convinced me.

I like Jim's argument about screen real estate and I agree that
settles the matter (unless the POSIX folks rule otherwise -- but who
are we to provoke them? :-), but I'd like to mention that Solaris 9
/bin/ls definitely does not conform to POSIX in this area, so its
value as a guide is questionable.  For example:

   $ ls -Fld *dir
   lrwxrwxrwx   1 eggert   eggert         6 Jul  9 16:51 bardir -> foodir/
   drwxrwsr-x   2 eggert   eggert       512 Jul  9 16:51 foodir/
   $ ls -F *dir
   bardir:

   foodir:
   $ ls -Fd *dir
   bardir/  foodir/

POSIX clearly says that the output of the last two commands should
look like this (which is what coreutils ls does):

   $ ls -F *dir
   bardir@

   foodir:
   $ ls -Fd *dir
   bardir@  foodir/

Solaris 9 /usr/xpg4/bin/ls is also nonconforming.


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

Reply via email to