[Top][All Lists]

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

Re: ls and root directory indicator

From: Pádraig Brady
Subject: Re: ls and root directory indicator
Date: Sun, 24 Feb 2013 18:09:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 02/24/2013 05:39 PM, Sami Kerola wrote:
> Hello,
> When using file type indicator to a root, e.g.,
> $ ls -Fd /
> //
> two slashes are printed. To me that feels wrong. Patch below is an
> attempt to make root print out to be a single slash. Perhaps there is
> more elegant way to do the same. Or maybe I am mistaking, and double
> slash is correct, although I could not find earlier posting about
> that.

I agree it looks a bit awkward, but I think it's more consistent
to keep the trailing /.  Consider a script that filters on and
strips a trailing /


reply via email to

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