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
d385bbc985
(memcasecmp): Declare local I to be unsigned to avoid warning from gcc -Wall.
1996-03-09 20:24:01 +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
756fe67e60
(xfields) [without -t]: Ignore leading blanks.
...
From David Dyck (dcd@tc.fluke.COM ).
1996-02-22 00:58:12 +00:00
Jim Meyering
28a24ea3be
[TOLOWER]: Define.
...
(usage): Briefly describe new --ignore-case (-i) option.
(memcasecmp): New function.
(main): Set IGNORE_CASE for -i.
(keycmp): Compare with memcasecmp if IGNORE_CASE is set.
Suggestion and an initial patch from Alberto Accomazzi
<alberto@cfa0.harvard.edu >.
1996-02-18 18:08:01 +00:00
Jim Meyering
73d5e9c5dd
Mark a few error strings for translation.
...
From Franc,ois Pinard.
1996-02-17 03:42:26 +00:00
Jim Meyering
7956c15081
s/non-zero/nonzero/g
1995-11-27 03:09:18 +00:00
Jim Meyering
82eae6c9b5
(join): Protoize. Somehow, protoize missed this one.
1995-11-05 16:58:15 +00:00
Jim Meyering
3ac64eda17
(prjoin): Handle case in which file spec is 0.
...
(add_field): Update assertions.
(decode_field_spec): For S == "0", set file spec to zero and don't modify
*FIELD_INDEX. Otherwise, *FIELD_INDEX gets the zero-based index.
1995-10-13 17:22:58 +00:00
Jim Meyering
9845d179b3
(prjoin): Rewrite loop that iterates over field specs.
1995-10-13 13:16:34 +00:00
Jim Meyering
11b87d29cc
(add_field_list): Allow SPACE and TAB as well as `,' as list item separators.
1995-10-12 21:42:52 +00:00
Jim Meyering
06ea91f2f3
(main): Close input files.
1995-10-08 04:02:00 +00:00
Jim Meyering
3c7699600f
Add alloca junk.
1995-10-08 03:38:09 +00:00
Jim Meyering
6f63d53e1b
(add_field): No longer return a value.
...
(decode_field_spec): New function.
(add_field_list): Rewrite to be more strict about what is accepted.
Before, `,1.2' was accepted as valid.
(main): Use xstrtol instead atoi.
Combine nearly identical -a and -v cases.
1995-10-08 03:28:21 +00:00
Jim Meyering
1c7bc6028a
protoize
1995-10-04 21:21:23 +00:00
Jim Meyering
74f061de82
Remove forward dcl of usage.
1995-10-04 21:20:40 +00:00
Jim Meyering
47b91b8948
(usage): Move to precede all other functions.
1995-10-04 21:19:28 +00:00
Jim Meyering
2d73c959cc
(main): Report `too few/many non-option arguments' then print --help
...
output rather than just the latter.
Properly interpret obsolescent usage like `join -o 2.1 2.1 2.2'.
(usage): Describe POSIX -1, -2 options and deprecate -j* ones
1995-10-04 21:17:43 +00:00
Jim Meyering
92c50e7f52
Annotate localizable strings with _(...). From Franc,ois.
1995-08-07 14:57:29 +00:00
Jim Meyering
86671a4ed0
Undefine min and/or max before defining to avoid redefinition warning
...
on systems.
1995-06-24 21:10:12 +00:00
Jim Meyering
4afe3f334a
[join]: Redefine. Otherwise, systems (Unicos for one) with
...
headers that have a different prototype for `join' get an error.
1995-06-22 04:03:33 +00:00
Jim Meyering
6ebaf82426
merge with 1.12
1995-06-18 19:33:31 +00:00
Jim Meyering
9584732376
(add_field_list): Compute max once for each call to add_field.
1995-05-28 20:12:24 +00:00
Jim Meyering
88daaaf385
(main): Call make_blank after *all* argument processing.
...
Get rid of blank1, blank2. Just use uni_blank instead.
1995-05-28 19:46:04 +00:00
Jim Meyering
5c08b11b30
Overhaul so -a1 and -a2 (as used in cnews) work.
1995-05-28 18:01:54 +00:00
Jim Meyering
7f9311c20e
merge with 1.11.1b
1995-05-21 11:44:22 +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
eba8aab7f2
add 1995 to Copyright dates
1995-03-09 22:20:59 +00:00
Jim Meyering
7323b7d9f2
Include "error.h" instead of simply declaring `void error ();'.
1994-12-16 05:42:47 +00:00
Jim Meyering
5356de1df7
Rewriting to help it pass a reasonable suite of tests.
1994-11-16 13:10:34 +00:00
Jim Meyering
159929688d
.
1994-10-31 12:55:27 +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
de330273f1
(prline): Remove unused function.
1994-03-28 14:22:52 +00:00
Jim Meyering
2c2e515911
indent
1994-03-28 14:21:26 +00:00
Jim Meyering
07cd9a8d15
safe_read and full_write + join patch
1994-01-09 03:47:21 +00:00
Jim Meyering
56deeee42b
merge with 1.8.1b
1993-11-02 22:10:58 +00:00
Jim Meyering
6d920eca0c
merge with 1.8g
1993-10-24 19:04:12 +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
Jim Meyering
750bb6aa69
Merged in changes for 1.3.5.
1992-11-19 21:03:49 +00:00
Jim Meyering
925487607c
Declared lots of external functions and variables static.
...
Made several statically-initialized arrays `const'
1992-11-08 20:19:58 +00:00
Jim Meyering
b25038ce9a
Initial revision
1992-11-08 02:50:43 +00:00