Your message dated Sun, 13 Nov 2005 13:19:37 -0500
with message-id <[EMAIL PROTECTED]>
and subject line formatting of ls -l big file
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at maintonly) by bugs.debian.org; 13 Nov 1997 23:42:42 +0000
Received: (qmail 13472 invoked from network); 13 Nov 1997 23:42:41 -0000
Received: from sweat.cs.unm.edu ([EMAIL PROTECTED]@198.59.151.200)
  by 205.229.104.5 with SMTP; 13 Nov 1997 23:42:41 -0000
Received: by sweat.cs.unm.edu
        id m0xW8vG-0009UGC
        (Debian Smail-3.2 1996-Jul-4 #2); Thu, 13 Nov 1997 16:43:42 -0700 (MST)
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 13 Nov 1997 16:43:42 -0700 (MST)
From: Barak Pearlmutter <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: formatting of ls -l big-file
Reply-to: [EMAIL PROTECTED]

Package: fileutils
Version: 3.16-5
Severity: wishlist

Here is some data about a woman's brain:

$ ls -l
total 446475
-rw-r--r--   1 bap      bap          1813 Nov 12 23:05 NOTES
-rw-r--r--   1 bap      bap          6922 Nov  7 09:38 ta_combo_raw.ainf
-rw-r--r--   1 bap      bap      142365600 Nov  7 09:38 ta_combo_raw.raw
-rw-r--r--   1 bap      bap          6925 Nov  7 09:55 ta_two_term_raw.ainf
-rw-r--r--   1 bap      bap      137118150 Nov  7 09:55 ta_two_term_raw.raw

Note that some of the files are over 99,999,999 bytes long, for for
these files the length field pushes the date over to the right.

If the files were in an eight-character group then there would be no
choice.  But they're not, so instead of just using
 printf("... %8s %8s %8d ...", ..., user_id, group_id, filesize, ...)
ls -l should go to a little more trouble and let the number grow to
the left as far as possible before resorting to bumping the date over.
---------------------------------------
Received: (at 14828-done) by bugs.debian.org; 13 Nov 2005 18:19:45 +0000
>From [EMAIL PROTECTED] Sun Nov 13 10:19:45 2005
Return-path: <[EMAIL PROTECTED]>
Received: from vms044pub.verizon.net ([206.46.252.44])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EbMS9-0005KF-CN
        for [EMAIL PROTECTED]; Sun, 13 Nov 2005 10:19:45 -0800
Received: from osgiliath.mathom.us ([70.108.64.202])
 by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep
 9 2005)) with ESMTPA id <[EMAIL PROTECTED]> for
 [EMAIL PROTECTED]; Sun, 13 Nov 2005 12:19:38 -0600 (CST)
Received: from localhost (localhost [127.0.0.1])
        by osgiliath.mathom.us (Postfix) with ESMTP id 003E56031E0      for
 <[EMAIL PROTECTED]>; Sun, 13 Nov 2005 13:19:37 -0500 (EST)
Received: from osgiliath.mathom.us ([127.0.0.1])
        by localhost (osgiliath [127.0.0.1]) (amavisd-new, port 10024)
        with LMTP id 20028-02-7 for <[EMAIL PROTECTED]>; Sun,
 13 Nov 2005 13:19:37 -0500 (EST)
Received: by osgiliath.mathom.us (Postfix, from userid 1000)
        id C2AA260049B; Sun, 13 Nov 2005 13:19:37 -0500 (EST)
Date: Sun, 13 Nov 2005 13:19:37 -0500
From: Michael Stone <[EMAIL PROTECTED]>
Subject: formatting of ls -l big file
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-disposition: inline
X-Pgp-Fingerprint: 53 FF 38 00 E7 DD 0A 9C  84 52 84 C5 EE DF 7C 88
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mathom.us
User-Agent: Mutt/1.5.11
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_01 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Version: 5.93-1

ls currently calculates field widths prior to display, so that columns
are lined up.

Mike Stone


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to