GNU bug report logs - #18625
stat: add % operator to just give a link name

Previous Next

Package: coreutils;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 4 Oct 2014 04:13:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 18625 <at> debbugs.gnu.org
Subject: bug#18625: add stat(1) % operator to just give a link name
Date: Sat, 04 Oct 2014 12:12:18 +0800
It seems there is no stat(1) % operator to get just a link name. The
best one can do is %N and dig it out of there from in front of the
arrow. Or one must use -L.

find(1) has

              %l     Object  of  symbolic  link (empty string if file is not a
                     symbolic link).





This bug report was last modified 6 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.