| 12000-01-28 Alain Magloire 2 3 * src/grep.c (usage): The example "%s -i 'hello.*world' could 4 lead to confusion when progname is 'fgrep. 5 Noted by Akim Demaille. 6 7 * configure.in: Reenable, jm_INCLUDE_REGEX() since we now 8 track GNU lib C. 9 * src/Makefile.am: EXTRA_DIST new macros with regex.c regex.h. 10 Requested By Ulrich Drepper. 11 122000-01-25 Paul Eggert 13 14 * src/grep.c (grep): If the final byte of an input file is not 15 a newline, grep now silently supplies one. 16 * doc/grep.texi, NEWS: Likewise. 17 182000-01-25 Paul Eggert 19 20 * NEWS, doc/grep.1, doc/grep.texi: Add -I option. 21 * src/grep.c (short_options, usage, main): Likewise. 22 23 * doc/grep.texi: Fix some incorrect references to ASCII. 24 252000-01-25 Paul Eggert 26 27 * doc/grep.1: Simplify synopsis; sort options; mention 28 environment variables; clean up some minor gaffes. 29 302000-01-25 Paul Eggert 31 32 * doc/grep.texi: 33 Fix some errors in description of [:print:] and the like. 34 352000-01-23 Paul Eggert 36 37 * src/dfa.c (FETCH, lex): Put brackets around if-body to avoid 38 GCC warning about ambiguous if-then-else. 39 402000-01-23 Paul Eggert 41 42 * src/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits. 43 * src/dfa.c (ISASCIIDIGIT): New macro. 44 (lex): Use it instead of ISDIGIT. 45 462000-01-23 Paul Eggert 47 48 The bug is that regular expression ranges like [a-z] compare raw 49 byte codes to the range boundaries, whereas POSIX says that they 50 should use the current collating sequence instead. For example, 51 in Solaris 7 with LC_ALL=en_US, the command 52 echo x | grep '[ -~]' 53 outputs 'x', but it shouldn't output anything since ' ' and '~' 54 sort before all letters in that locale. 55 56 * src/regex.c (compile_range): When matching a character 57 range, use the current collating sequence, as POSIX requires. 58 * src/dfa.c (lex): Likewise. 59 602000-01-20 Alain Magloire 61 62 * tests/Makefile.am (dist-hook): Added new rule to make sure 63 that the shell scripts have the right permissions. 64 * src/posix/Makefile.am (EXTRA_DIST): added regex.h in the 65 distribution. 66 * THANKS: updated. 67 682000-01-18 Alain Magloire 69 70 * Rectification the initial patch to add --binary-file option 71 was done by Ruslan Ermilov. 72 732000-01-17 Paul Eggert 74 75 Sync with sources of fileutils 4.0n, tar 1.13.17, glibc 2.1.3a1. 76 Convert to ANSI C prototypes (using ansi2knr for backwards 77 compatibility), as this makes it easier to sync. 78 79 * configure.in (AC_OBJEXT): Spell in a funny way, to work around 80 a bug in automake 1.4 with ansi2knr. 81 (LIBOBJS): Add assignment so that .o files in LIBOBJS are also built 82 via the ANSI2KNR-filtering rules. 83 (AC_OUTPUT): Add src/posix/Makefile. 84 * src/Makefile.am (AUTOMAKE_OPTIONS): Add ansi2knr. 85 (SUBDIRS): New macro. 86 * src/ansi2knr.1, src/ansi2knr.c, src/posix/Makefile.am: New files. 87 * src/dfa.c, src/dosbuf.c, src/grep.c, src/kwset.c, src/search.c, 88 src/vms_fab.c: 89 Use prototypes for function definitions. 90 * src/grep.c (main): Use int counter for default context, 91 fixing an ANSI portability bug uncovered by the above changes. 92 93 * config.guess, config.sub, install-sh, missing, src/alloca.c, 94 src/getpagesize.h, src/memchr.c, src/savedir.c, src/savedir.h, 95 src/stpcpy.c: 96 Upgrade to latest version from fileutils 4.0n. 97 98 * src/getopt.c, src/getopt.h, src/getopt1.c: Upgrade to latest 99 version from tar 1.13.17. 100 101 * src/obstack.c, src/obstack.h, src/regex.c, src/regex.h: 102 Upgrade to glibc 2.1.3 alpha 1, with K&R C portability fix. 103 * src/posix/regex.h: New file, from glibc 2.1.3 alpha 1. 104
|
12000-01-04 Paul Eggert 2 3 Inititial patch from David O'Brien. 4 5 Add --binary-files option. 6 * NEWS, doc/grep.1, doc/grep.texi: Document it. 7 * src/grep.c (BINARY_FILES_OPTION): New constant. 8 (long_options, grep, usage, main): New --binary-files option.
--- 1314 unchanged lines hidden --- | 1052000-01-04 Paul Eggert 106 107 Inititial patch from David O'Brien. 108 109 Add --binary-files option. 110 * NEWS, doc/grep.1, doc/grep.texi: Document it. 111 * src/grep.c (BINARY_FILES_OPTION): New constant. 112 (long_options, grep, usage, main): New --binary-files option.
--- 1314 unchanged lines hidden --- |