bug-coreutils
[Top][All Lists]
Advanced

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

Re: Slash appears twice using ls -ldF


From: Paul Eggert
Subject: Re: Slash appears twice using ls -ldF
Date: Sun, 05 Feb 2006 23:11:12 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

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




reply via email to

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