bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pr and indentation


From: hggdh
Subject: pr and indentation
Date: Thu, 19 Feb 2009 22:17:48 -0600

Original Ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/331817

----original bug description----

While the pr command recognizes the --indent (-o) option, page headers are 
printed without indentation.

Expected results (for example, version 5.2.1 from CentOS 4):
$ ls /usr/bin | pr --indent 5 | head

     2009-02-19 17:43 Page 1

     [
     4odb
     4rdf
     4ss
     4ssd

Actual results (in 8.04/ pr version 6.10):
$ ls /usr/bin | pr --indent 5 | head

2009-02-19 17:45 Page 1

     [
     411toppm
     a2p
     a2ps
     a2ps-lpr-wrapper

----original bug description----

I have tested with git 'pr', and the same happens:

address@hidden:/usr/src/buildd/libpst/libpst-0.6.25 $ ls /usr/bin | pr --indent 
5 | head
     

2009-02-19 22:08                                                  Page 1


     [
     2to3-2.6
     2to3-3.0
     404main
     411toppm
address@hidden:/usr/src/buildd/libpst/libpst-0.6.25 $ pr --version
pr (GNU coreutils) 7.0.188-0e40e-dirty

Although it is not clear what would be the expected behaviour, it seems
intuitive that if --indent is provided, all output should be indented.

Regards,

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]