[EMAIL PROTECTED] (Eric Blake) writes:

> What do other systems do in this case?

Solaris 10 "ls" (both /bin/ls and /usr/xpg4/bin/ls) appends the slash.

1001-otter $ /usr/xpg4/bin/ls -d -F / /usr /usr/
//      /usr/   /usr//
1002-otter $ /bin/ls -d -F / /usr /usr/
//      /usr/   /usr//
1003-otter $ coreutils-5.93/bin/ls -d -F / /usr /usr/
//  /usr/  /usr//

OpenBSD 3.4 /bin/ls is similar to Solaris 10.

So, if we change this, we'll introduce an incompatibility with
widespread existing practice.  I'm a bit inclined to let sleeping dogs
lie, unless perhaps we're actually on a system where / and // are
different directories.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to