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:
hg...@xango2:/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
hg...@xango2:/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,
signature.asc
Description: PGP signature
_______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
