bug-fileutils
[Top][All Lists]
Advanced

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

Re: ls -d link/


From: Bob Proulx
Subject: Re: ls -d link/
Date: Wed, 13 Mar 2002 00:00:45 -0700

> I use fileutils-4.1 on a linux box.
> This little - IMHO misfeature - should be changed:
> 
> # ln -s /home/markus demo
> 
> # ll -d demo
> lrwxrwxrwx    1 markus   users          12 Mar 12 12:54 demo -> /home/markus
> 
> # the headbanger:
> # ll -d demo/
> drwxr-xr-x   45 markus   users        4153 Mar 12 12:00 demo/

This matches what I expect to see.  What do you expect to see here?
You have symbolically linked demo to your /home/markus.  Then you
asked ls to list it in long format but not to recurse down.  You added
a trailing slash which says to resolve the symlink to destination
first.  The destination of demo is /home/markus.  So it listed that.

> Is there any good reason to keep that behaviour?

Keep what behavior?  You never said what you expected to see and us
folks reading the bug list can't read your mind, you have to come
right out and say it.

Note that you should probably search the archives, starting here:

  http://mail.gnu.org/pipermail/bug-fileutils/2001-September/001933.html
And
  http://mail.gnu.org/pipermail/bug-fileutils/2001-September/001944.html

Bob



reply via email to

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