Jim Meyering
257c5c4737
revert back to using lower case _unlocked wrapper names
1998-06-29 15:57:45 +00:00
Jim Meyering
dd9470cb58
Change all uses of unlocked-wrapped functions to their upper case wrapper names.
1998-06-29 02:11:07 +00:00
Jim Meyering
933b990ab9
add a FIXME for output delimiter
1998-06-28 21:32:51 +00:00
Jim Meyering
0d38a270a4
Do not define _GNU_SOURCE and/or NDEBUG
1998-04-26 20:38:28 +00:00
Jim Meyering
d4257e63c7
Use STREQ rather than strcmp
1998-04-12 09:27:45 +00:00
Jim Meyering
7dcae67d92
(ADD_RANGE_PAIR): Cast first arg of xrealloc to char*.
...
(getstr): Cast xmalloc return value to char*.
(xmalloc): Remove decl.
(xrealloc): Remove decl.
1997-10-25 04:37:57 +00:00
Jim Meyering
3f3f566627
update bug-reporting address
1997-10-07 23:55:52 +00:00
Jim Meyering
2f1768f676
(cut_fields): Detect when the input is empty and handle
...
that special case. Before `cut -f1 </dev/null' would improperly
output a single newline. Reported by Phil Richards.
1997-06-14 17:31:40 +00:00
Jim Meyering
e077b7593b
bracket bug address with <> and append a period
1997-02-01 04:24:58 +00:00
Jim Meyering
c2d2dec516
Compare getopt_long return value against -1, not EOF. Use NULL, not '(int *) 0' as last parameter in getopt_long call.
1997-02-01 02:00:04 +00:00
Jim Meyering
2e55854100
change bug-reporting address
1996-11-03 03:16:23 +00:00
Jim Meyering
17c0c658f1
change bug-reporting address
1996-11-02 20:44:52 +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
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
111cb717e8
(set_fields): Use memset (not open coded loop) to initialize array.
1995-10-03 20:28:44 +00:00
Jim Meyering
6a45f61547
Convert a lot of int' types to unsigned int' to avoid warnings from
...
`gcc -Wall' about comparing signed and unsigned types.
1995-10-03 20:21:32 +00:00
Jim Meyering
12e85d31e2
Protoize.
1995-09-24 13:36:13 +00:00
Jim Meyering
528390fa58
(print_kth): Change order of args in compare, and reverse sense of comparison
...
(Hence, no semantic change).
1995-09-23 20:42:52 +00:00
Jim Meyering
92c50e7f52
Annotate localizable strings with _(...). From Franc,ois.
1995-08-07 14:57:29 +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
42357adff5
(set_fields): Declare index unsigned.
1995-03-25 21:08:36 +00:00
Jim Meyering
8d6c6946dd
Include "error.h" instead of simply declaring `void error ();'.
1994-12-16 05:41:05 +00:00
Jim Meyering
c85cac33ab
Declare DELIM to be `int' rather than unsigned char.
1994-11-16 13:09:13 +00:00
Jim Meyering
346a1b2351
(cut_bytes): Print at least a newline for every line of input.
...
(cut_fields): Print a newline even for lines whose only selected
field is empty. But print nothing when using -s without -f1.
And print nothing for empty input. Reported by
Richard_Sharman@software.mitel.com .
1994-11-02 05:04:17 +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
9a30fc037e
.
1993-12-29 05:07:52 +00:00
Jim Meyering
2db44d14e4
merge with 1.9.1b
1993-12-23 19:11:21 +00:00
Jim Meyering
797585985f
.
1993-12-22 22:41:00 +00:00
Jim Meyering
7061c33d7b
(set_fields): Convert ranges like 3-5,6- into 3-.
...
Before, this was off-by-two and converted 3-5,4-, but not 3-5,5-
1993-12-19 06:20:51 +00:00
Jim Meyering
bef401e8dc
fix typo in comment
1993-11-15 16:05:00 +00:00
Jim Meyering
8c26c6bbba
merge with 1.9.1
1993-11-15 15:58:21 +00:00
Jim Meyering
2d0c47b8aa
merge with 1.9
1993-11-07 06:09:50 +00:00
Jim Meyering
3bc2827212
merge with 1.8h
1993-10-24 20:00:39 +00:00
Jim Meyering
b869639f46
merge with 1.8d+
1993-10-23 15:37:19 +00:00
Jim Meyering
d1df8c198d
merge with 1.8d
1993-10-21 22:08:53 +00:00
Jim Meyering
df1e389479
merge with 1.8c
1993-10-21 17:19:34 +00:00
Jim Meyering
712109716a
merge with 1.8a
1993-10-05 18:29:39 +00:00
Jim Meyering
6587c39b3a
merge with 1.5.2
1993-05-22 05:06:39 +00:00
Jim Meyering
2ff4fc1672
add --version and --help
1993-04-29 05:26:22 +00:00
Jim Meyering
56b1029ccf
Always call error with errno (not zero) after failed fclose or non-zero ferror.
1993-03-30 03:32:10 +00:00
Jim Meyering
d179df1b06
Remove inclusion of <ctype.h> and definitions of is* ctype macros to system.h.
...
Change a few more uses of is* ctype macros to (protected) upper case versions.
1992-12-07 04:54:04 +00:00
Jim Meyering
eb3a2516db
Convert static declarations of struct option to use new macros from
...
getopt.h: no_argument, required_argument, and optional_argument.
1992-12-02 18:31:56 +00:00