coreutils/tests/pr/W20l24f-ll
Jim Meyering a4053c5291 pr: fix a bug whereby --indent=N (-o) did not indent header lines
* src/pr.c (print_header): Honor chars_per_margin also for the header.
Inspired by a patch from C de-Avillez.
This change also adjusts two other %*s directives to be %*.*s instead,
(for the padding on either side of "file_text") to correct a bug that
could make pr print one space of padding instead of none.
* NEWS (Bug fixes): Mention it.
* tests/pr/o3Jml24f-lm-lo: Adjust for new expected output.
* tests/pr/o3a3Sl24f-tn: Likewise.
* tests/pr/o3a3Snl24f-tn: Likewise.
* tests/pr/o3a3l24f-tn: Likewise.
* tests/pr/o3b3Sl24f-tn: Likewise.
* tests/pr/o3b3Snl24f-tn: Likewise.
* tests/pr/o3b3l24f-tn: Likewise.
* tests/pr/o3mSl24f-bl-tn: Likewise.
* tests/pr/o3mSnl24fbltn: Likewise.
* tests/pr/o3ml24f-bl-tn: Likewise.
2009-03-07 23:52:08 +01:00

110 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- Date/Time --xPage 1
1<<< -Test: FF's in
2<<< -b -3 / -a -3
3<<< >>>
4<<< 123456789 1234
6<<< -Arangements:
7<<< \f\f\n; text\f
8<<< f\f\n; \f\n\f\
9<<< >>>
10<<< >>>
1<<< >>>
2<<< >>>
3<<< truncation bef
14<<< 123456789 123
-- Date/Time --xPage 2
-- Date/Time --xPage 3
15<<< xyzxyzxyz XYZ
16<<< 123456789 xyz
7<<< >>>
8<<< >>>
9<<< >>>
20<<< >>>
1<<< >>>
4<<< >>>
5<<< >>>
6<<< >>>
27<<< truncation be
28<<< trunc
-- Date/Time --xPage 4
-- Date/Time --xPage 5
29<<<xyzxyzxyz XYZXY
30<<< 123456789 xyz
1<<< >>>
2<<< abcdefghi >>>
3<<< >>>
4<<< >>>
5<<< >>>
6<<< >>>
7<<< >>>
8<<< >>>
9<<< abcdefghi >>>
40<<< 123456789 >>
41<<< XYZXYZXYZ abc
42<<< 123456789 abc
-- Date/Time --xPage 6
-- Date/Time --xPage 7
-- Date/Time --xPage 8
43<<< xyzxyzxyz XYZ
44<<< 123456789 xyz
5<<< >>>
6<<< >>>
7<<< >>>
8<<< >>>
9<<< >>>
50<<< >>>
1<<< >>>
2<<< >>>
3<<< >>>
4<<< >>>
55<<< XYZXYZXYZ abc
56<<< 123456789 abc
-- Date/Time --xPage 9
57<<< xyzxyzxyz XYZ
58<<< 123456789 xyz
9<<< >>>
60<<< 123456789 >>