Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-03-17 | Include mbswidth.h. | Jim Meyering | |
(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). | |||
2000-11-19 | (main): Do not assume EOF == -1. | Jim Meyering | |
Handle the case correctly when digits options immediately precede a non-option. | |||
2000-08-05 | (init_header): Fix buffer-overrun error. | Jim Meyering | |
Allocated buffer was sometimes too small. Reported by Greg McGary (who found this bug using his bounded-pointers-enabled gcc). (init_header): Move declarations of several variables into the inner scope where they are used. | |||
2000-08-04 | (store_columns): Remove conjunct that would dereference | Jim Meyering | |
an out-of-bounds pointer. Reported by Greg McGary (who found this bug using his bounded-pointers-enabled gcc). | |||
2000-05-20 | Arrange to call close_stdout upon exit. Don't close stdout explicitly. | Jim Meyering | |
2000-01-08 | (PAGES_OPTION, COLUMNS_OPTION): Define these and use them instead of | Jim Meyering | |
`CHAR_MAX + n'. | |||
1999-08-22 | (read_line): Use IF_LINT macro instead of #ifdef lint... | Jim Meyering | |
1999-07-25 | (usage): Remove `NEWS'-style paragraph (sorry to have let that in, translators). | Jim Meyering | |
1999-05-04 | (usage): Break the usage message into 3 pieces instead of | Jim Meyering | |
only 2. The strings had grown to be longer than 2048, which evokes errors when compiling with Irix4's cc. | |||
1999-04-15 | Add comments. | Jim Meyering | |
(init_header): Tweak white space in Date/Time header. | |||
1999-04-04 | Add case_GETOPT_* cases. | Jim Meyering | |
1999-04-04 | Standardize --help and --version processing. | Jim Meyering | |
1999-04-03 | Use AUTHORS in place of string in parse_long_options call. | Jim Meyering | |
1999-04-03 | Insert AUTHORS definition. | Jim Meyering | |
1999-04-03 | Use PROGRAM_NAME in place of string in parse_long_options call. | Jim Meyering | |
1999-04-03 | define PROGRAM_NAME | Jim Meyering | |
1999-03-07 | (usage): Add missing \n\. | Jim Meyering | |
1999-03-07 | remove trailing blanks | Jim Meyering | |
1999-03-07 | 1999-02-13 Roland Huebner <rh@pelikan.cologne.de> | Jim Meyering | |
* src/pr.c (main): Redefine options -s, -w to be POSIX compliant; introduce new options -J, -S, -W to disentangle -s and -w when used together with the three column options; (add_line_number): Make POSIX compliant; use default number separator TAB with single column output. (add_line_number): Make POSIX compliant; with multicolumn output now prefer `text columns of equal width' rather than a consequent use of `default n-separator TAB'. (add_line_number): Change line number cut-off from lower-oder to higher-oder digit to avoid loss of information; no consequent handling exists in different utilities and other UNIXes. (char_to_clump): Expand input text tabs to 8 spaces, if input_tab_char doesn't equal TAB (adapted to other UNIXes). (usage): Update POSIX compliant options -s, -w; add new options -J, -S, -W. (main): Update the source internal documentation. Some smaller BUGFIXES (print_sep_string, init_header, skip_to_page, reset_status, print_header). | |||
1999-03-04 | Include long-options.h | Jim Meyering | |
[long_options]: Remove the "help" and "version" entries. Remove declarations of show_help and show_version. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks. | |||
1999-02-16 | update copyright dates | Jim Meyering | |
1999-01-14 | Don't prototype usage as static. | Jim Meyering | |
1999-01-01 | fix typo in comment | Jim Meyering | |
1998-09-19 | update bug-reporting address | Jim Meyering | |
1998-08-30 | Don't assume ASCII. | Jim Meyering | |
1998-08-15 | (usage): Reformat a little. | Jim Meyering | |
1998-08-15 | (long_options): Add long names for all options. | Jim Meyering | |
(usage): Update help string. (main): Handle the special options --pages and --columns. | |||
1998-06-29 | revert back to using lower case _unlocked wrapper names | Jim Meyering | |
1998-06-29 | Change all uses of unlocked-wrapped functions to their upper case wrapper names. | Jim Meyering | |
1998-06-27 | (print_page): Break out of loop before double space test | Jim Meyering | |
if cols_ready_to_print is zero. | |||
1998-04-12 | Use STREQ rather than strcmp | Jim Meyering | |
1998-01-10 | CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAX | Jim Meyering | |
Remove definitions of those symbols. * src/csplit.c: Move inclusion of regex.h/rx.h to follow system.h since it now includes limit.h which defines RE_DUP_MAX. * src/nl.c: Likewise. * src/tac.c: Likewise. | |||
1997-12-21 | s/__P/PARAMS/ | Jim Meyering | |
1997-10-25 | Remove old-style xmalloc and xrealloc decls. | Jim Meyering | |
1997-10-07 | update bug-reporting address | Jim Meyering | |
1997-06-15 | (init_header) [T_BUF_FMT]: Output the 4-digit year (not the | Jim Meyering | |
2-digit abbreviation) in each page header. Reported by Noah Friedman. | |||
1997-03-14 | (main): Allow use of 0 (zero) as the margin offset | Jim Meyering | |
argument to the -o option. Patch from Gary Anderson. | |||
1997-02-09 | update copyrights for 1997 | Jim Meyering | |
1997-02-01 | (init_parameters): For compatibility: use default | Jim Meyering | |
separator `TAB' with full length lines. From Roland Huebner. | |||
1997-02-01 | bracket bug address with <> and append a period | Jim Meyering | |
1997-02-01 | (add_line_number): Rename from `number' to avoid shadowing local variables. | Jim Meyering | |
1997-01-25 | update for changed xstrtou?l | Jim Meyering | |
1997-01-03 | (init_fps): Initialize lines_stored field in three places. | Jim Meyering | |
This avoids uninitialized memory reads in close_file. | |||
1996-12-30 | (init_header): Plug a small memory leak by using stack | Jim Meyering | |
rather than heap for a 15-byte temporary buffer. | |||
1996-12-28 | (TAB_WIDTH): Cleaned up definition and renamed from tab_width. | Jim Meyering | |
(POS_AFTER_TAB): Cleaned up definition and renamed from pos_after_tab. | |||
1996-12-28 | (usage): Break long string literal into two separate | Jim Meyering | |
printf statements to accomodate default maximum of 2048 characters for Irix-4.0.5. Reported by Kaveh Ghazi. | |||
1996-12-07 | (init_header): Fix typo: `cons tchar' -> `const char'. From Roland. | Jim Meyering | |
1996-12-05 | (init_store_cols): Put parens around ... ? ... : ... expr. | Jim Meyering | |
1996-12-05 | Use NULL instead of e.g., `(char *) 0'. | Jim Meyering | |
1996-12-05 | (init_header): Move dcl of FMT into block where it's used. | Jim Meyering | |