bugGNU Core Utilities - Bugs: bug #1728, pr header line length sometimes...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #1728: pr header line length sometimes incorrect

Submitter:  Bob Proulx <rwp>
Submitted:  Fri 15 Nov 2002 06:56:18 PM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Wed 11 Oct 2006 05:26:28 AM UTC, comment #3: 

I can no longer recreate this problem.  It must already be solved in the current releases.  I tested with 5.2.1 with the following command and it appeared fine to me.

perl -le 'print "x" x 135;' | LANG=de_DE.UTF-8 pr -f -h "MYHEADER" -l 64 -W 135

Bob Proulx <rwp>
Group administrator
Wed 11 Oct 2006 05:17:52 AM UTC, comment #2: 

http://lists.gnu.org/archive/html/bug-textutils/2002-11/msg00016.html

From: Juergen Kaesmann
To: bug-textutils at gnu org
Subject: [textutils: pr] bug found?
Date: Thu, 14 Nov 2002 21:48:44 +0100

Hello friends,

I think I've found a bug in the program "pr" of the
textutils version 2.0.10 (this is the version I currently use).

Whenever I format a text with it (including a header) then
the output of the header is exactly one space to wide.

Example:
--------
Suppose we have a textfile with all lines exactly 135 chars.
Then format the text with following command:

/usr/bin/pr -f -h "MYHEADER" -l 64 -W 135

The output shows the body of the formatted text with the
correct linelength, but the header has the length of 136 chars.

Maybe this happens because I'm german and the output is done
with german words --> the english word "Page" is in german "Seite".
And this is one char longer.
Could this be the reason?

I've found this behavior in all versions I used till now.

cu

Bob Proulx <rwp>
Group administrator
Wed 20 Sep 2006 01:43:28 PM UTC, comment #1: 

Hi Bob,

I can't see any details here.
Can you add some, or say that it's fixed in coreutlis-6.2?

Thanks,
Jim

Jim Meyering <meyering>
Group administrator
Fri 15 Nov 2002 06:56:18 PM UTC, original submission:  
Bob Proulx <rwp>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-10-11 rwp StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code