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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Severity: wishlist; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; dated Sat, 4 Oct 2014 04:13:02 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.
Changed bug title to 'stat: add % operator to just give a link name' from 'add stat(1) % operator to just give a link name' Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Oct 2014 04:12:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 04 00:12:52 2014
Received: from localhost ([127.0.0.1]:60693 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XaGiC-0006fz-8S
	for submit <at> debbugs.gnu.org; Sat, 04 Oct 2014 00:12:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38722)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jidanni@HIDDEN>) id 1XaGi9-0006fp-RC
 for submit <at> debbugs.gnu.org; Sat, 04 Oct 2014 00:12:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1XaGhz-0001y8-Lo
 for submit <at> debbugs.gnu.org; Sat, 04 Oct 2014 00:12:49 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:53886)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1XaGhz-0001xs-J2
 for submit <at> debbugs.gnu.org; Sat, 04 Oct 2014 00:12:39 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40427)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1XaGhr-0006Cg-Ty
 for bug-coreutils@HIDDEN; Sat, 04 Oct 2014 00:12:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1XaGhh-0001po-Bd
 for bug-coreutils@HIDDEN; Sat, 04 Oct 2014 00:12:31 -0400
Received: from homie.mail.dreamhost.com ([208.97.132.208]:59538
 helo=homiemail-a8.g.dreamhost.com)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1XaGhh-0001pe-5L
 for bug-coreutils@HIDDEN; Sat, 04 Oct 2014 00:12:21 -0400
Received: from homiemail-a8.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a8.g.dreamhost.com (Postfix) with ESMTP id A943FD22085
 for <bug-coreutils@HIDDEN>; Fri,  3 Oct 2014 21:12:20 -0700 (PDT)
Received: from jidanni.org (122-118-145-153.dynamic.hinet.net
 [122.118.145.153])
 (using TLSv1 with cipher AES128-SHA (128/128 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by homiemail-a8.g.dreamhost.com (Postfix) with ESMTPSA id 63A8CD22070
 for <bug-coreutils@HIDDEN>; Fri,  3 Oct 2014 21:12:20 -0700 (PDT)
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-coreutils@HIDDEN
Subject: add stat(1) % operator to just give a link name
Date: Sat, 04 Oct 2014 12:12:18 +0800
Message-ID: <87k34gpj6l.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
 timestamps) [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

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).





Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#18625; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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