diff options
author | Jim Meyering <jim@meyering.net> | 2001-03-17 08:48:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-03-17 08:48:23 +0000 |
commit | ca0659ab9afcd95f27cbb2e8975444bf9a097f31 (patch) | |
tree | bcdac878d677111483ba6a25ae2c3b319db81f8c /tests/pr/o3a3Sl17f-tn | |
parent | 6fa00f67daa4077d66a4547aad3b96466d8d8883 (diff) | |
download | coreutils-ca0659ab9afcd95f27cbb2e8975444bf9a097f31.tar.xz |
Include mbswidth.h.
(standard_header, header, test_suite): Remove.
(date_format, date_text, file_text, header_width_available): New vars.
(long_options, main, init_header, usage):
Add new -D or --date-format option.
(CHARS_FOR_DATE_AND_PAGE, T_BUF_FMT, T_BUF_SIZE, NO_DATE): Remove.
(init_header): Allow arbitrary width for date format. Change
"Page %5d" to "Page %d", since the code no longer assumes fixed width.
Do not assume that localtime succeeds.
(init_header, print_header, usage): Do not truncate headers.
(init_header, print_header): Defer width calculations until
page is printed, since "Page 100000" is wider than "Page 1".
Count columns, not bytes, in page headers.
Custom headers take up only the center, not the whole header.
(print_header): Use printf rather than fprintf(stdout).
Diffstat (limited to 'tests/pr/o3a3Sl17f-tn')
0 files changed, 0 insertions, 0 deletions