summaryrefslogtreecommitdiff
path: root/tests/pr/2-S_f-t_notab
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-03-17 08:48:23 +0000
committerJim Meyering <jim@meyering.net>2001-03-17 08:48:23 +0000
commitca0659ab9afcd95f27cbb2e8975444bf9a097f31 (patch)
treebcdac878d677111483ba6a25ae2c3b319db81f8c /tests/pr/2-S_f-t_notab
parent6fa00f67daa4077d66a4547aad3b96466d8d8883 (diff)
downloadcoreutils-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/2-S_f-t_notab')
0 files changed, 0 insertions, 0 deletions