Bug 192381 - pr(paginate) no longer correctly replaces tabs with spaces
pr(paginate) no longer correctly replaces tabs with spaces
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
: 193198 (view as bug list)
Depends On:
Blocks: FC6Target
  Show dependency treegraph
Reported: 2006-05-19 00:28 EDT by Landon Kelsey
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 5.96-1.2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-06-20 05:43:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Landon Kelsey 2006-05-19 00:28:38 EDT
Description of problem: pr was not on the list so I substituted prctl
pr (paginate no longer replaces tabs with spaces correctly using -e3)

Version-Release number of selected component (if applicable):
pr 5.93
2.6.16-1.2111_FC5 #1 Thu May 4 21:16:58 EDT 2006 i686 i686 i386 GNU/Linux

How reproducible:
landonkateaux (landon) ~/QtFigs4 [1082]>pr -e3 -l60 -f qtfigs.cpp|lp
lp: Unsupported format 'application/octet-stream'!

Steps to Reproduce:
1.pr -e3 -l60 -f qtfigs.cpp|lp
Actual results:
landonkateaux (landon) ~/QtFigs4 [1082]>pr -e3 -l60 -f qtfigs.cpp|lp
lp: Unsupported format 'application/octet-stream'!

Expected results: should not get an error and print

Additional info: I've been using this command for years successfully
Comment 1 Karsten Hopp 2006-05-19 05:47:32 EDT
Please read https://bugzilla.redhat.com/bugzilla/page.cgi?id=redhatfaq.html 'How
do I enter a bug?'. There's a chapter how you can find out the bugzilla component
for a given binary.

I'll reassign this to coreutils
Comment 2 Tim Waugh 2006-05-19 05:53:54 EDT
So the problem you're seeing is that 'lp' is failing, not 'pr'.
Comment 3 Tim Waugh 2006-05-19 06:47:25 EDT
Please fetch these RPM files:


and install them using this command, as root:

  rpm -Fvh cups*-1.2.0-1.3.i386.rpm

Then restart cups:

  /sbin/service cups restart

and try your 'pr ...|lp' command again.  Does it work now?
Comment 4 Landon Kelsey 2006-05-19 10:20:07 EDT
That may work but paginate (pr) is supposed to insert spaces for tabs.

pr -e3 -l60 -f qtfigs.cpp >testx.txt

shows this not being the case
Comment 5 Tim Waugh 2006-05-19 11:42:47 EDT
Please try this test update:


by fetching:


and installing it ('rpm -Fvh coreutils-5.95-1.3.i386.rpm').
Comment 6 Tim Waugh 2006-05-26 06:38:04 EDT
*** Bug 193198 has been marked as a duplicate of this bug. ***
Comment 7 Landon Kelsey 2006-05-26 08:49:32 EDT
pr now works...thanks!

Note You need to log in before you can comment on or make changes to this bug.