GNU logs - #36666, boring messages


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#36666: Minor bug/inconsistency in ls command
Resent-From: hoffelmann@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Mon, 15 Jul 2019 13:53:02 +0000
Resent-Message-ID: <handler.36666.B.156319872821215 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 36666
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: 36666 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-coreutils@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.156319872821215
          (code B ref -1); Mon, 15 Jul 2019 13:53:02 +0000
Received: (at submit) by debbugs.gnu.org; 15 Jul 2019 13:52:08 +0000
Received: from localhost ([127.0.0.1]:46927 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hn1Oi-0005W7-IY
	for submit <at> debbugs.gnu.org; Mon, 15 Jul 2019 09:52:08 -0400
Received: from lists.gnu.org ([209.51.188.17]:51232)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hoffelmann@HIDDEN>) id 1hmuze-0006qM-If
 for submit <at> debbugs.gnu.org; Mon, 15 Jul 2019 03:01:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49939)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <hoffelmann@HIDDEN>) id 1hmuzd-0005fF-Ht
 for bug-coreutils@HIDDEN; Mon, 15 Jul 2019 03:01:50 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <hoffelmann@HIDDEN>) id 1hmuzc-0005EH-J2
 for bug-coreutils@HIDDEN; Mon, 15 Jul 2019 03:01:49 -0400
Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:42146)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <hoffelmann@HIDDEN>)
 id 1hmuzc-0005DZ-95
 for bug-coreutils@HIDDEN; Mon, 15 Jul 2019 03:01:48 -0400
Received: by mail-ed1-x531.google.com with SMTP id v15so14297780eds.9
 for <bug-coreutils@HIDDEN>; Mon, 15 Jul 2019 00:01:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=message-id:subject:from:to:date:user-agent:mime-version
 :content-transfer-encoding;
 bh=8TeGeM6BO+x+UWXmvQafzzNqh6bUlUXkzK7P6uC+jCc=;
 b=ekwV6TB3flXAZoLss0OjNAcW06dhIbenA5kgZv/rtv146f9cZ6CRax4pPNpubLuDUz
 m35Jcxj+AhieN+xjVBxZv+Ohznj43B69tJXY0sF3Hckl1i0gnIaCsxFuaIud06LxgHmg
 AJJn1X2N65NXkAUk9amPkokkp4ot4D0VBTxlokRADDSJg6tSEZej5uHWFJglNc6W1Wrn
 NDsEge6xLFv6fL0snMclvTnSDwr4XAggRAwfYOfIF/dJAI9MQpETcl/cc9/K+BegShfK
 rbzIf+m1cLuqcJeF762RwtyS41BZyafMRTQDuGVa23EV9BTFTfoI5pOIk28GcQ3DkaE9
 dDFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:message-id:subject:from:to:date:user-agent
 :mime-version:content-transfer-encoding;
 bh=8TeGeM6BO+x+UWXmvQafzzNqh6bUlUXkzK7P6uC+jCc=;
 b=EL2Kx1rSfREgknNnAG+lZEYdQIyK1w3WdctKabK6r2tUzcZNXw4WedrPnMdqYQ0Xln
 jahfedWEQJfnFNFX8bAuCW/cAxvdmI4Dopv50N3O9Y8PvUrsJWPleP8huocZYvvMTnA3
 q/dIbDJXcNeRKyJYDCpKj0AbqoN2dgctMsKV7q87g5s/WLjCeZddUcGSjE6m2AgqCk23
 ln1pCKCobsbbr3OOvc1t53owqR5Siy18U+biyUCVW7PekWmQmgLDgQ3CMehVnbQ8Abuk
 v4OF5WRrWO4MJmf04rxuZLgmWn4vnvH0Ltl7x50cT+dHHZ7tyVT3nnmEmwgM9ikuyYZy
 LglA==
X-Gm-Message-State: APjAAAUFzX03lLPpErRaUJQeJfObwgdRBXFyDY7MeFzX8tk9qET1ZRor
 83qKcEyyV7oglxbVxmGPUBjmq06SqQ==
X-Google-Smtp-Source: APXvYqwF+KZWZAeDJ9IN6UvXpTQEiHY8BdmsGUJEVeVEo0pRAAdt1GeiUJ7ch6DKV3pg/QKLiXn2uA==
X-Received: by 2002:a50:9167:: with SMTP id f36mr21450293eda.297.1563174105772; 
 Mon, 15 Jul 2019 00:01:45 -0700 (PDT)
Received: from archbook ([217.9.115.75])
 by smtp.gmail.com with ESMTPSA id i4sm3540557ejs.39.2019.07.15.00.01.43
 for <bug-coreutils@HIDDEN>
 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);
 Mon, 15 Jul 2019 00:01:44 -0700 (PDT)
Message-ID: <5b7b312b7129cf76146cbb3dd544edec12bae4b6.camel@HIDDEN>
From: hoffelmann@HIDDEN
Date: Mon, 15 Jul 2019 09:01:42 +0200
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.32.3 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::531
X-Spam-Score: -1.3 (-)
X-Mailman-Approved-At: Mon, 15 Jul 2019 09:52:06 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://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: -2.3 (--)

Hi,

I am using ls from the cureutils 8.31 on arch linux (5.2.0 x86_64) and
think it has a bug/inconsistant in printing an file type indicator (-F) 
while using the long listing format (-l).


If I use `ls -F ~` I get the following output:
-----------------------------------------------------------------------
Desktop/    Downloads/	Nextcloud/  Pictures/  Templates/  Workspace/
Documents/  Music@	OneDrive/   Public/    Videos/


As the Music directory in ~ is a symbolic link to another folder an @
is appended.


But when using `ls -Fl ~` the output is
-----------------------------------------------------------------------
total 40
drwxr-xr-x  2 rxo users 4096  8. Jul 07:34 Desktop/
drwxr-xr-x  2 rxo users 4096  1. Jun 11:44 Documents/
drwxr-xr-x  5 rxo users 4096 12. Jul 12:04 Downloads/
lrwxrwxrwx  1 rxo users   15  8. Jul 08:07 Music -> OneDrive/Music//
drwxr-xr-x 19 rxo users 4096  9. Jul 15:00 Nextcloud/
drwxr-xr-x  6 rxo users 4096 18. Jun 14:45 OneDrive/
drwxr-xr-x  3 rxo users 4096 11. Jul 13:30 Pictures/
drwxr-xr-x  2 rxo users 4096 10. Jul 16:01 Public/
drwxr-xr-x  2 rxo users 4096 10. Jul 16:01 Templates/
drwxr-xr-x  2 rxo users 4096 10. Jul 16:01 Videos/
drwxr-xr-x 17 rho users 4096 10. Jul 14:58 Workspace/


As you can see the @ symbol is missing and instead there is an
additional "/" appended to the corresponding entry. I think this is
inconsistant and confusing. 

I would expect to see this line:
-----------------------------------------------------------------------
lrwxrwxrwx  1 rxo users   15  8. Jul 08:07 Music@ -> OneDrive/Music/


or alternatively:
-----------------------------------------------------------------------
lrwxrwxrwx  1 rxo users   15  8. Jul 08:07 Music -> OneDrive/Music/@


but I would prefer the first suggestion.





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: hoffelmann@HIDDEN
Subject: bug#36666: Acknowledgement (Minor bug/inconsistency in ls command)
Message-ID: <handler.36666.B.156319872821215.ack <at> debbugs.gnu.org>
References: <5b7b312b7129cf76146cbb3dd544edec12bae4b6.camel@HIDDEN>
X-Gnu-PR-Message: ack 36666
X-Gnu-PR-Package: coreutils
Reply-To: 36666 <at> debbugs.gnu.org
Date: Mon, 15 Jul 2019 13:53:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-coreutils@HIDDEN

If you wish to submit further information on this problem, please
send it to 36666 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
36666: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36666
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#36666: Minor bug/inconsistency in ls command
Resent-From: L A Walsh <coreutils@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Tue, 16 Jul 2019 08:31:01 +0000
Resent-Message-ID: <handler.36666.B36666.156326582022235 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 36666
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: hoffelmann@HIDDEN
Cc: 36666 <at> debbugs.gnu.org
Received: via spool by 36666-submit <at> debbugs.gnu.org id=B36666.156326582022235
          (code B ref 36666); Tue, 16 Jul 2019 08:31:01 +0000
Received: (at 36666) by debbugs.gnu.org; 16 Jul 2019 08:30:20 +0000
Received: from localhost ([127.0.0.1]:49617 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hnIqq-0005mY-B2
	for submit <at> debbugs.gnu.org; Tue, 16 Jul 2019 04:30:20 -0400
Received: from ishtar.tlinx.org ([173.164.175.65]:36798
 helo=Ishtar.sc.tlinx.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <coreutils@HIDDEN>) id 1hnIqo-0005mQ-NH
 for 36666 <at> debbugs.gnu.org; Tue, 16 Jul 2019 04:30:19 -0400
Received: from [192.168.3.12] (Athenae [192.168.3.12])
 by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
 x6G8UEB3073543; Tue, 16 Jul 2019 01:30:16 -0700
Message-ID: <5D2D8B16.9090608@HIDDEN>
Date: Tue, 16 Jul 2019 01:30:14 -0700
From: L A Walsh <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
References: <5b7b312b7129cf76146cbb3dd544edec12bae4b6.camel@HIDDEN>
In-Reply-To: <5b7b312b7129cf76146cbb3dd544edec12bae4b6.camel@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://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: -1.0 (-)

On 2019/07/15 00:01, hoffelmann@HIDDEN wrote:
> Hi,
>
> I am using ls from the cureutils 8.31 on arch linux (5.2.0 x86_64) and
> think it has a bug/inconsistant in printing an file type indicator (-F) 
> while using the long listing format (-l).
>
>
> If I use `ls -F ~` I get the following output:
> -----------------------------------------------------------------------
> Desktop/    Downloads/	Nextcloud/  Pictures/  Templates/  Workspace/
> Documents/  Music@	OneDrive/   Public/    Videos/
>
>
> As the Music directory in ~ is a symbolic link to another folder an @
> is appended.
>
>
> But when using `ls -Fl ~` the output is
> -----------------------------------------------------------------------
> lrwxrwxrwx  1 rxo users   15  8. Jul 08:07 Music -> OneDrive/Music//
>   
----
In this case, ls -Fl is showing you the result of the link expansion and
the focus is on the 'target', i.e., the OneDrive/Music.  The classifier
character is being shown only for the target -- not the source of the
symlink.

In a different way, in the top listing the '@' in the 1st ls is telling
you that
Music is a symlink, in the 2nd listing, the '->' tells you that the same
thing,
that Music was(is) a symlink, so the '@' would be superfluous.  Instead,
it puts
a classifier on the target so you know what type it is.

One could think of it as inconsistent -- but only if remembering that
inconsistent options (different options) were given as well.


 





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.