From unknown Wed Jun 18 00:25:44 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#40904 <40904@debbugs.gnu.org> To: bug#40904 <40904@debbugs.gnu.org> Subject: Status: listing multiple subdirectories places filenames in different columns between each subdirectory Reply-To: bug#40904 <40904@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:25:44 +0000 retitle 40904 listing multiple subdirectories places filenames in different= columns between each subdirectory reassign 40904 coreutils submitter 40904 Jim Clark severity 40904 normal tag 40904 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 10:50:02 2020 Received: (at submit) by debbugs.gnu.org; 27 Apr 2020 14:50:02 +0000 Received: from localhost ([127.0.0.1]:37798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT557-0002Gz-Pa for submit@debbugs.gnu.org; Mon, 27 Apr 2020 10:50:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:33459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT4tA-0008HK-1X for submit@debbugs.gnu.org; Mon, 27 Apr 2020 10:37:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56540) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT4t9-0006q5-IT for bug-coreutils@gnu.org; Mon, 27 Apr 2020 10:37:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT4t9-00078G-2A for bug-coreutils@gnu.org; Mon, 27 Apr 2020 10:37:39 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:45136) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jT4t8-00077t-JN for bug-coreutils@gnu.org; Mon, 27 Apr 2020 10:37:38 -0400 Received: by mail-lf1-x12d.google.com with SMTP id f8so14041527lfe.12 for ; Mon, 27 Apr 2020 07:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Z8oW4nET4+P04XDqJQxcpQLC5fyNHuUuL/c4otasxSI=; b=o3DWA71lgtgLefU9uMiQXOSwvIa2YVWh3QULswOsQs0B0IU+q24+eya+EqCfrE5hM+ bCBaEa01gzlyChJBjfB9xd8zChNmAf34TSiGQbh6uMoN4QK4P0maM01xe0iQDSAbDvNZ hmiNdZWHWn/h6syet0TcmFMxc8dqNgkJWhWQCMNGpHmQUAhRwr9D+4Y/CIyjODJSJigD V8oQTHiHHvP3Pdp0vlW2FD+7DsNuvtLDylLEtD57DLypFKVR6oRoMruxhdLq+682rajY PnkR0v+G7GxWzFCevxZqjr63nhDbahe8tjx5uF/kuyoCZuFI/kQWcycGPEa6qx6e522l sS5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Z8oW4nET4+P04XDqJQxcpQLC5fyNHuUuL/c4otasxSI=; b=O4DfaJAryDBRnADKmzkh+Bq4eUM803xtg1L1zQR4zHV0VJ/LDm8layk7Elfdv+Uamk FlEWSzYI1rX0vcngPMGhB/un5PQbirRnlQQNGB0v69kC4xS38V0C3YkyoIpjdYEK5Dt0 AZq6qGRQi8/bP2UARYx2jqZp0fp3YY2U2qzpKGFQ1GgY1SvKz6cLTxZX/1sF+CdoUNgV uF/C+yyZmYQ4jE6TVZrQ0J0LKxm0hV44un8GFXDFqW1v5PCKGUjWp3HoxOlJJ6zYd7f8 tVyWrITEUJsticVaUn+MkO852WfXmHo37Xx872KHj1MdTGMpF8HoryzVzDU0fnLHxksy Li2Q== X-Gm-Message-State: AGi0PubY4qc3+Duo/cRwOcJA29R7KiXD/qLh6suApoMzWU+FttclI/cY UCb/Fwr6cRuExpzen2IXKUVimplhODBZ+l+aIEI= X-Google-Smtp-Source: APiQypKvnT3MS3W1uXJmnMQQf0PLNYr5DF1PBJ3cacxsRhu/POL6ePb6NkCrHOrCj0dh0Nm2JBQXPZyCyETEiwVJnUs= X-Received: by 2002:ac2:4554:: with SMTP id j20mr15934754lfm.91.1587998256351; Mon, 27 Apr 2020 07:37:36 -0700 (PDT) MIME-Version: 1.0 From: Jim Clark Date: Mon, 27 Apr 2020 07:36:59 -0700 Message-ID: Subject: listing multiple subdirectories places filenames in different columns between each subdirectory To: Jim Clark , bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary="000000000000f94e7505a446a72b" Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=jim.clark.ubuntu@gmail.com; helo=mail-lf1-x12d.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::12d X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 27 Apr 2020 10:50:00 -0400 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 (--) --000000000000f94e7505a446a72b Content-Type: text/plain; charset="UTF-8" Greetings, When I list a hard drive "ls -AR > list.txt" and import it into Libreoffice Calc, then break the lines using "text-to-columns", I am not able to perform a fixed format break so that the filenames are placed in their own column. It seems like, when listing all subdirectories the largest file size within the subdirectory places the filename at a column and all the other names in that subdirectory are at the same column, but other subdirectories will have their filenames at different columns depending on file size within that subdirectory. It would be nice if all the filenames were at the same column in the directory and all subdirectories. -- Thank you, Jim Clark --000000000000f94e7505a446a72b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Greetings,

When I list a hard drive &qu= ot;ls -AR > list.txt" and import it into Libreoffice Calc, then bre= ak the lines using "text-to-columns", I am not able to perform a = fixed format break so that the filenames are placed in their own column.

It seems like, when listing all subdirectories the l= argest file size within the subdirectory places the filename at a column an= d all the other names in that subdirectory are at the same column, but othe= r subdirectories will have their filenames at different columns depending o= n file size within that subdirectory.

It would be = nice if all the filenames were at the same column in the directory and all = subdirectories.=C2=A0

--
Thank you,

Jim Clark
--000000000000f94e7505a446a72b-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 12:53:22 2020 Received: (at 40904) by debbugs.gnu.org; 27 Apr 2020 16:53:22 +0000 Received: from localhost ([127.0.0.1]:38013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT70U-0008Or-Hp for submit@debbugs.gnu.org; Mon, 27 Apr 2020 12:53:22 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:53982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT70P-0008OX-TS for 40904@debbugs.gnu.org; Mon, 27 Apr 2020 12:53:20 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B718716008E; Mon, 27 Apr 2020 09:53:11 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 6xadRYo_hCTT; Mon, 27 Apr 2020 09:53:11 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 070CE1600C3; Mon, 27 Apr 2020 09:53:11 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pb2_-D73B3NH; Mon, 27 Apr 2020 09:53:10 -0700 (PDT) Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id CF20516008E; Mon, 27 Apr 2020 09:53:10 -0700 (PDT) Subject: Re: bug#40904: listing multiple subdirectories places filenames in different columns between each subdirectory To: Jim Clark , 40904@debbugs.gnu.org References: From: Paul Eggert Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkV5QWNtUUJFQURB QXlIMnhvVHU3cHBHNUQzYThGTVpFb243NGRDdmM0K3ExWEEySjJ0QnkycHdhVHFmCmhweHhk R0E5Smo1MFVKM1BENGJTVUVnTjh0TFowc2FuNDdsNVhUQUZMaTI0NTZjaVNsNW04c0thSGxH ZHQ5WG0KQUF0bVhxZVpWSVlYL1VGUzk2ZkR6ZjR4aEVtbS95N0xiWUVQUWRVZHh1NDd4QTVL aFRZcDVibHRGM1dZRHoxWQpnZDdneDA3QXV3cDdpdzdlTnZub0RUQWxLQWw4S1lEWnpiRE5D UUdFYnBZM2VmWkl2UGRlSStGV1FONFcra2doCnkrUDZhdTZQcklJaFlyYWV1YTdYRGRiMkxT MWVuM1NzbUUzUWpxZlJxSS9BMnVlOEpNd3N2WGUvV0szOEV6czYKeDc0aVRhcUkzQUZINmls QWhEcXBNbmQvbXNTRVNORnQ3NkRpTzFaS1FNcjlhbVZQa25qZlBtSklTcWRoZ0IxRApsRWR3 MzRzUk9mNlY4bVp3MHhmcVQ2UEtFNDZMY0ZlZnpzMG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FJESE00NFFxUGs2Cmw3TzBwVXZOMW1UNEIrUzFiMDhSS3BxbS9mZjAx NUUzN0hOVi9waUl2Smx4R0FZejhQU2Z1R0NCMXRoTVlxbG0KZ2RoZDkvQmFiR0ZiR0dZSEE2 VTQvVDV6cVUrZjZ4SHkxU3NBUVoxTVNLbEx3ZWtCSVQrNC9jTFJHcUNIam5WMApxNUgvVDZh N3Q1bVBrYnpTck9MU280cHVqK0lUb05qWXlZSURCV3pobEExOWF2T2ErcnZVam1IdEQzc0ZO N2NYCld0a0dvaThidU5jYnk0VT0KPUFMNm8KLS0tLS1FTkQgUEdQIFBVQkxJQyBLRVkgQkxP Q0stLS0tLQo= Organization: UCLA Computer Science Department Message-ID: <7fe8395f-67b2-3e7d-5b23-60f6c881ae34@cs.ucla.edu> Date: Mon, 27 Apr 2020 09:53:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40904 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: -3.3 (---) On 4/27/20 7:36 AM, Jim Clark wrote: > When I list a hard drive "ls -AR > list.txt" and import it into Libreoffice > Calc, then break the lines using "text-to-columns", I am not able to > perform a fixed format break so that the filenames are placed in their own > column. I can't reproduce the problem. All the file names start at the beginning of the line. Quite possibly you're using an alias, so that your 'ls' is not the plain vanilla 'ls'. At any rate, 'find' is probably a better tool for what you want to d. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 01:04:46 2020 Received: (at 40904) by debbugs.gnu.org; 30 Apr 2020 05:04:46 +0000 Received: from localhost ([127.0.0.1]:45190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU1NO-0004E8-9Q for submit@debbugs.gnu.org; Thu, 30 Apr 2020 01:04:46 -0400 Received: from havoc.proulx.com ([96.88.95.61]:57642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU1NM-0004Dr-5n; Thu, 30 Apr 2020 01:04:45 -0400 Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id ABD1F305; Wed, 29 Apr 2020 23:04:36 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proulx.com; s=dkim2048; t=1588223076; bh=M28ltUmf/HTL1aH2KRyslq3hqLqigFD906A3+PZISoM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Sax/XzrdQAAm1yDapinmrZfuDy41FlFUKpidqecXsqvpVSx7woG804mm3vSKK5/qR 1uw6kMc2r1EZF9CQfDJkorFUbW2v1xylWgztmS9VzeEsVJFp2O7dBegd/5As1WNSAx 4e0cmNjrkyw9wrdZm8yFBqGSrXw9tYQ+Crt8da7ILAM/t1CCRqta0OAcu9CJ3Np73s FWDjzLMqtxWHHbc1yva2TCiQ40Fosb84Wc8FPSSQ7LzHsDNUJk0K9QhLmpIPfuRI7e cCZ83qBDJaDHr7rSF5pj9NEQEXAqqtZGKXAMNMH5e85Xt31tU8plY57xOM3fqiEvyX b8TmH3BKHv05w== Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 7699721154; Wed, 29 Apr 2020 23:04:36 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 4CE512DC8E; Wed, 29 Apr 2020 23:04:36 -0600 (MDT) Date: Wed, 29 Apr 2020 23:04:36 -0600 From: Bob Proulx To: Jim Clark Subject: Re: bug#40904: listing multiple subdirectories places filenames in different columns between each subdirectory Message-ID: <20200429225623475730416@bob.proulx.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40904 Cc: 40904@debbugs.gnu.org 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: -1.0 (-) tag 40904 + notabug close 40904 thanks Jim Clark wrote: > When I list a hard drive "ls -AR > list.txt" and import it into Libreoffice > Calc, then break the lines using "text-to-columns", I am not able to > perform a fixed format break so that the filenames are placed in their own > column. > > It seems like, when listing all subdirectories the largest file size within > the subdirectory places the filename at a column and all the other names in > that subdirectory are at the same column, but other subdirectories will > have their filenames at different columns depending on file size within > that subdirectory. File size? Your example used "ls -AR" which does not include the file size. Therefore I am going to close the ticket for the purpose of accounting. Since there is no bug here. But please let further discussion follow. The ticket can be reopened or reassigned easily if that is determined. > It would be nice if all the filenames were at the same column in the > directory and all subdirectories. If you are trying to use "ls -lAR" then each directory is listed individually and what you are saying is true. However that is the way the GNU ls program is designed to work. Each directory is listed individually with column spacing applied to that directory. As Paul recommended, it is likely better for you to use find instead. Since you apparently want the long listing format then perhaps: find . -ls That will produce a full recursive long listing all of the way down. It will use a wide fixed spacing which is apparently what you want. I am curious. I can't imagine any reason to import a recursive file listing into a spreadsheet... What is the task goal you are trying to do there? Bob From unknown Wed Jun 18 00:25:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 28 May 2020 11:24:04 +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