summaryrefslogtreecommitdiff
path: root/src/pr.c
AgeCommit message (Collapse)Author
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 ofJim Meyering
only 2. The strings had grown to be longer than 2048, which evokes errors when compiling with Irix4's cc.
1999-04-15Add comments.Jim Meyering
(init_header): Tweak white space in Date/Time header.
1999-04-04Add case_GETOPT_* cases.Jim Meyering
1999-04-04Standardize --help and --version processing.Jim Meyering
1999-04-03Use AUTHORS in place of string in parse_long_options call.Jim Meyering
1999-04-03Insert AUTHORS definition.Jim Meyering
1999-04-03Use PROGRAM_NAME in place of string in parse_long_options call.Jim Meyering
1999-04-03define PROGRAM_NAMEJim Meyering
1999-03-07(usage): Add missing \n\.Jim Meyering
1999-03-07remove trailing blanksJim Meyering
1999-03-071999-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-04Include long-options.hJim 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-16update copyright datesJim Meyering
1999-01-14Don't prototype usage as static.Jim Meyering
1999-01-01fix typo in commentJim Meyering
1998-09-19update bug-reporting addressJim Meyering
1998-08-30Don'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-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change 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 testJim Meyering
if cols_ready_to_print is zero.
1998-04-12Use STREQ rather than strcmpJim Meyering
1998-01-10CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAXJim 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-21s/__P/PARAMS/Jim Meyering
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-06-15(init_header) [T_BUF_FMT]: Output the 4-digit year (not theJim Meyering
2-digit abbreviation) in each page header. Reported by Noah Friedman.
1997-03-14(main): Allow use of 0 (zero) as the margin offsetJim Meyering
argument to the -o option. Patch from Gary Anderson.
1997-02-09update copyrights for 1997Jim Meyering
1997-02-01(init_parameters): For compatibility: use defaultJim Meyering
separator `TAB' with full length lines. From Roland Huebner.
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01(add_line_number): Rename from `number' to avoid shadowing local variables.Jim Meyering
1997-01-25update for changed xstrtou?lJim 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 stackJim 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 separateJim 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-05Use 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
1996-12-05Reindent with -TCOLUMN.Jim Meyering
(main): Add two sets of curly braces for readability.
1996-12-05(usage): Add \n\ at end of first line.Jim Meyering
1996-12-05(separator_string): dcl parameter const.Jim Meyering
Add __P in fwd dcl.
1996-12-05Apply big patch (patch-20) from Roland Huebner.Jim Meyering
1996-11-23(usage): Alphabetize options like sort -f would.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering