1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

pr: fix form feed

pr: fix form feed

pr: Rustfmt

pr: add test for ff and -l option
This commit is contained in:
tilakpatidar 2019-01-04 22:34:29 +05:30 committed by Max Semenik
parent 8f9b322897
commit 3be5dc6923
12 changed files with 1573 additions and 57 deletions

216
tests/fixtures/pr/l24-FF vendored Normal file
View file

@ -0,0 +1,216 @@
{last_modified_time} {file_name} Page 1
1 FF-Test: FF's in Text V
2 Options -b -3 / -a -3 / ...
3 --------------------------------------------
4 3456789 123456789 123456789 123456789 12345678
5 3 Columns downwards ..., <= 5 lines per page
6 FF-Arangements: One Empty Page
7 text\f\f\n; text\f\n\ftext; \f\ftext;
8 \f\f\n; \f\n\f\n;
9
10 zzzzzzzzzzzzzzzzzzzzzzzzzz123456789
1 12345678
2 12345678
3 line truncation before FF; r_r_o_l-test:
14 456789 123456789 123456789 123456789
{last_modified_time} {file_name} Page 2
{last_modified_time} {file_name} Page 3
15 xyzxyzxyz XYZXYZXYZ abcabcab
16 456789 123456789 xyzxyzxyz XYZXYZXYZ
7 12345678
8 12345678
9 3456789 ab
20 DEFGHI 123
1 12345678
2 12345678
3 12345678
4 12345678
5 12345678
6 12345678
27 no truncation before FF; (r_l-test):
28 no trunc
{last_modified_time} {file_name} Page 4
{last_modified_time} {file_name} Page 5
29 xyzxyzxyz XYZXYZXYZ abcabcab
30 456789 123456789 xyzxyzxyz XYZXYZXYZ
1 12345678
2 3456789 abcdefghi
3 12345678
4 12345678
5 12345678
6 12345678
7 12345678
8 12345678
9 3456789 abcdefghi
40 DEFGHI 123456789
41 yzxyzxyz XYZXYZXYZ abcabcab
42 456789 123456789 abcdefghi ABCDEDFHI
{last_modified_time} {file_name} Page 6
{last_modified_time} {file_name} Page 7
{last_modified_time} {file_name} Page 8
43 xyzxyzxyz XYZXYZXYZ abcabcab
44 456789 123456789 xyzxyzxyz XYZXYZXYZ
5 12345678
6 12345678
7 12345678
8 12345678
9 12345678
50 12345678
1 12345678
2 12345678
3 12345678
4 12345678
55 yzxyzxyz XYZXYZXYZ abcabcab
56 456789 123456789 abcdefghi ABCDEDFHI
{last_modified_time} {file_name} Page 9
57 xyzxyzxyz XYZXYZXYZ abcabcab
58 456789 123456789 xyzxyzxyz XYZXYZXYZ
9 12345678
60 DEFGHI 123456789