Jim Meyering
d815c152df
Standardize --help and --version processing.
1999-04-04 15:44:26 +00:00
Jim Meyering
c21cecaea8
Use AUTHORS in place of string in parse_long_options call.
1999-04-03 05:26:48 +00:00
Jim Meyering
1d47220ab2
Insert AUTHORS definition.
1999-04-03 05:22:05 +00:00
Jim Meyering
cf691ec714
Use PROGRAM_NAME in place of string in parse_long_options call.
1999-04-03 05:20:06 +00:00
Jim Meyering
7c2d5de6c7
define PROGRAM_NAME
1999-04-03 05:01:48 +00:00
Jim Meyering
88cbad9817
Include long-options.h
...
[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-03-04 05:36:10 +00:00
Jim Meyering
7568de8654
update copyright dates
1999-02-16 04:20:43 +00:00
Jim Meyering
9fec9172be
Don't prototype usage as static.
1999-01-14 18:25:16 +00:00
Jim Meyering
13e5d17494
(cwrite) [O_BINARY]: Write output in binary mode.
...
(main) [O_BINARY]: Read input in binary mode.
1999-01-01 22:49:44 +00:00
Jim Meyering
6880f434c0
update bug-reporting address
1998-09-19 17:24:05 +00:00
Jim Meyering
d4257e63c7
Use STREQ rather than strcmp
1998-04-12 09:27:45 +00:00
Jim Meyering
b388203a65
Include safe-read.h instead of merely declaring safe_read.
1998-04-11 18:24:09 +00:00
Jim Meyering
c1618a8c4c
(next_file_name): Rewrite. This removes an artificial limit (albeit
...
already high, at INT_MAX :-) on the number of files split could create.
Reported by Ralf W. Stephan.
1998-01-18 11:18:08 +00:00
Jim Meyering
dba300a0d0
CHAR_BIT SCHAR_MAX UCHAR_MAX SHRT_MAX INT_MAX UINT_MAX LONG_MAX ULONG_MAX
...
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.
1998-01-10 22:12:03 +00:00
Jim Meyering
25e06fece0
(usage): s/TAB/ /g
1997-12-29 22:09:28 +00:00
Jim Meyering
e211bb2aff
Remove old-style xmalloc and xrealloc decls.
1997-10-25 04:45:43 +00:00
Jim Meyering
3f3f566627
update bug-reporting address
1997-10-07 23:55:52 +00:00
Jim Meyering
dbc538f92b
update copyrights for 1997
1997-02-09 04:46:02 +00:00
Jim Meyering
e077b7593b
bracket bug address with <> and append a period
1997-02-01 04:24:58 +00:00
Jim Meyering
edeada009c
fix copyright filling
1997-01-25 06:11:48 +00:00
Jim Meyering
e298f1f300
(usage): Alphabetize options like sort -f would.
1996-11-23 22:06:55 +00:00
Jim Meyering
5582e6dad3
change bug-reporting address
1996-11-03 03:16:27 +00:00
Jim Meyering
b8e689dc67
change bug-reporting address
1996-11-02 20:44:15 +00:00
Jim Meyering
bc2d814543
(usage): Remove parameter, REASON.
...
(main): Update callers to use combination of error (0, 0, ... and
usage (EXIT_FAILURE).
1996-10-13 17:53:47 +00:00
Jim Meyering
630b771f1b
(main): update --version output again
1996-10-04 04:25:46 +00:00
Jim Meyering
3361bd2bca
(main): update --version output to conform to coding standard
1996-10-04 04:15:08 +00:00
Jim Meyering
c609ba2d13
(usage): Tell where to report bugs.
1996-09-02 15:34:25 +00:00
Jim Meyering
59d334f4d4
update Copyright years for 1996
1996-04-24 04:50:53 +00:00
Jim Meyering
818d29db9b
Call error with EXIT_FAILURE (rather than `1') as first actual parameter.
1996-03-24 16:59:11 +00:00
Jim Meyering
47f70113d4
Exit with status EXIT_SUCCESS or EXIT_FAILURE, rather than 0 or 1.
...
This doesn't change `error (1' calls.
1996-03-24 14:58:01 +00:00
Jim Meyering
adb7c216b2
(main): Declare to be of type int, not void.
1996-03-21 22:41:04 +00:00
Jim Meyering
4229a555fc
Don't include version.h.
...
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16 22:30:54 +00:00
Jim Meyering
715765a548
(main): Initialize for internationalized message support: call setlocale,
...
bindtextdomain, and textdomain.
1996-03-09 20:19:13 +00:00
Jim Meyering
7956c15081
s/non-zero/nonzero/g
1995-11-27 03:09:18 +00:00
Jim Meyering
b7df779b8b
New option: --verbose.
...
(main): Recognize it.
(usage): Document it.
From Marty Leisner <leisner@sdsp.mc.xerox.com >.
1995-11-07 04:56:08 +00:00
Jim Meyering
6e146d4216
(isdigits, convint): Remove these.
...
(main): Use xstrtol instead.
1995-10-31 12:52:29 +00:00
Jim Meyering
aa6cde5ca1
Add `const' attribute to some parameters.
1995-10-31 12:39:18 +00:00
Jim Meyering
05a5e42609
protoize.
1995-10-31 12:36:43 +00:00
Jim Meyering
11a013bf87
Reorder functions to obviate forward dcls.
...
Remove forward dcls.
1995-10-31 12:34:48 +00:00
Jim Meyering
92c50e7f52
Annotate localizable strings with _(...). From Franc,ois.
1995-08-07 14:57:29 +00:00
Jim Meyering
6ebaf82426
merge with 1.12
1995-06-18 19:33:31 +00:00
Jim Meyering
9918713e5b
(next_file_name): Move dcls of file-scope variables into this function.
...
Don't rely on arithmetic being two's complement.
1995-05-20 11:52:36 +00:00
Jim Meyering
7cdc7a0bd9
(usage): Include one- or two-line synopsis in --help output.
...
From Karl Berry.
1995-05-13 18:34:54 +00:00
Jim Meyering
93b95d2b78
(next_file_name): Don't reuse X as an index.
...
Declare new variable I instead.
1995-04-14 04:29:41 +00:00
Jim Meyering
eba8aab7f2
add 1995 to Copyright dates
1995-03-09 22:20:59 +00:00
Jim Meyering
9646d48630
(main): Use memset, not bzero.
...
(line_bytes_split): Use memmove instead of bcopy.
1995-01-28 13:06:29 +00:00
Jim Meyering
7323b7d9f2
Include "error.h" instead of simply declaring `void error ();'.
1994-12-16 05:42:47 +00:00
Jim Meyering
544baf5482
merge with 1.9.1h
1994-10-19 03:39:33 +00:00
Jim Meyering
85842e28eb
.
1994-04-13 17:12:17 +00:00
Jim Meyering
07cd9a8d15
safe_read and full_write + join patch
1994-01-09 03:47:21 +00:00