From unknown Fri Jun 20 07:15:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#30717 <30717@debbugs.gnu.org> To: bug#30717 <30717@debbugs.gnu.org> Subject: Status: i miss some ls-features Reply-To: bug#30717 <30717@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:15:04 +0000 retitle 30717 i miss some ls-features reassign 30717 coreutils submitter 30717 kalle severity 30717 normal tag 30717 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 16:02:38 2018 Received: (at submit) by debbugs.gnu.org; 5 Mar 2018 21:02:38 +0000 Received: from localhost ([127.0.0.1]:46289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esxFm-0005aC-77 for submit@debbugs.gnu.org; Mon, 05 Mar 2018 16:02:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esxFk-0005Zy-49 for submit@debbugs.gnu.org; Mon, 05 Mar 2018 16:02:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esxFe-0001dJ-BR for submit@debbugs.gnu.org; Mon, 05 Mar 2018 16:02:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1esxFe-0001d9-84 for submit@debbugs.gnu.org; Mon, 05 Mar 2018 16:02:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esxFd-0008Al-4n for bug-coreutils@gnu.org; Mon, 05 Mar 2018 16:02:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esxFZ-0001aN-8H for bug-coreutils@gnu.org; Mon, 05 Mar 2018 16:02:29 -0500 Received: from mail.netzguerilla.net ([217.11.57.120]:59977) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1esxFY-0001ZH-UA for bug-coreutils@gnu.org; Mon, 05 Mar 2018 16:02:25 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.netzguerilla.net (Postfix) with ESMTP id CC365100014 for ; Mon, 5 Mar 2018 22:02:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at netzguerilla.net Received: from mail.netzguerilla.net ([IPv6:2a00:1828:2000:612::25]) by localhost (sal.netzguerilla.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id Qqmq5gbUEB6H for ; Mon, 5 Mar 2018 22:02:20 +0100 (CET) Received: from [IPv6:2003:dd:ff0c:7c01:5183:1e65:5b93:ab82] (p200300DDFF0C7C0151831E655B93AB82.dip0.t-ipconnect.de [IPv6:2003:dd:ff0c:7c01:5183:1e65:5b93:ab82]) by mail.netzguerilla.net (Postfix) with ESMTPSA id 896A9100012 for ; Mon, 5 Mar 2018 22:02:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=projektwerkstatt.de; s=fckp; t=1520283740; bh=9Znx3hO+5EECjh5H/s3yYDrW+mmfr1EVzUQVMMmGxBA=; h=To:From:Subject:Date:From; b=mJrH/v7eMfc4QTFl/00+j5TikpC9kzv+EAHDkarEyUcoU9a+N2YqIhpSBrWvLJheB C0jBcDFvw0ET9U/RlojIGS4nZ9SAFzCtZkOZKmBODnFF7qLvlkk0vNDZB1R5aPx2ev FMrKXVZv3+8NsNOcdkXYe8PDzA29rL2kMGIRb0kERu8rilk8hGecTDPuK19Ph9fOKD lGhS3SgTlaoICl4BVTkIk4H3Gpyw6/hwq7gFyOZgeCUTFU8sZxxrQec8alrFvFzbah EdxcOkwZUyEydiM757W9QzCdFfukrpVNZehnkzm0vjVWqdNLpXy1ct8++ifexEIBYs FCvFgjge8l1JQ== To: bug-coreutils@gnu.org From: kalle Subject: i miss some ls-features Message-ID: Date: Mon, 5 Mar 2018 22:01:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) hello I wonder why for the ls-command I don't find the following features, I consider important: - list the size of files. For directories, list the total size of the tree beneath them - for ls -R (recursive presentation) limit it to a certain depth greetings, kalle From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 16:16:37 2018 Received: (at control) by debbugs.gnu.org; 5 Mar 2018 21:16:37 +0000 Received: from localhost ([127.0.0.1]:46305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esxTJ-0005vO-Az for submit@debbugs.gnu.org; Mon, 05 Mar 2018 16:16:37 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43352 helo=mx1.redhat.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esxTG-0005uy-4F; Mon, 05 Mar 2018 16:16:34 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AC2B4401CC41; Mon, 5 Mar 2018 21:16:28 +0000 (UTC) Received: from [10.10.125.187] (ovpn-125-187.rdu2.redhat.com [10.10.125.187]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2E2FB2144B20; Mon, 5 Mar 2018 21:16:28 +0000 (UTC) Subject: Re: bug#30717: i miss some ls-features To: kalle , 30717-done@debbugs.gnu.org References: From: Eric Blake Organization: Red Hat, Inc. Message-ID: Date: Mon, 5 Mar 2018 15:16:27 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 05 Mar 2018 21:16:28 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 05 Mar 2018 21:16:28 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'eblake@redhat.com' RCPT:'' X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) tag 30717 notabug thanks On 03/05/2018 03:01 PM, kalle wrote: > hello > I wonder why for the ls-command I don't find the following features, I > consider important: > - list the size of files. For directories, list the total size of the > tree beneath them Because this feature is already provided by the 'du' tool. > - for ls -R (recursive presentation) limit it to a certain depth > greetings, Because this feature is already provided by the 'find' tool. One philosophy of Unix design is that each tool should do one thing well, rather than trying to repeat functionality already present elsewhere. As such, I'm marking this as not a bug in the coreutils database, but you are welcome to continue conversation if you think you have strong arguments for changing ls. Note that if there is an alternative implementation of ls (such as BSD ls) that does what you want via a particular command line option, then that is a much stronger argument for teaching coreutils ls to do the same thing. But merely adding something to ls that can already be accomplished by another standardized tool is probably just going to be bloat to an already large 'ls' binary. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org From unknown Fri Jun 20 07:15:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 03 Apr 2018 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator