ChangeLog (55360) | ChangeLog (56230) |
---|---|
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. 9 (binary_files): New var. 10 * src/system.h (TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, CHAR_MAX): 11 New macros. 12 (INT_MAX, UCHAR_MAX): Define in terms of TYPE_MAXIMUM. 13 142000-01-04 Paul Eggert 15 16 * savedir.c (savedir): Don't store past the end of an array if 17 name_size is zero and the directory is empty. 18 Reported by Dima Barsky <dima@pwd.hp.com>. 19 |
|
11999-11-18 Paul Eggert 2 3 * m4/largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a 4 problem with the QNX 4.25 shell, which doesn't propagate exit 5 status of failed commands inside shell assignments. 6 71999-11-13 Eli Zaretskii 8 --- 32 unchanged lines hidden (view full) --- 41 * src/search.c: Use the more portable [[:alnum:]] 42 to define a word instead of Ascii dependent [0-9A-Za-z] 43 * src/grep.c: make not_text global to not display text when 44 the context switches -A/-B/-C are use on binary files. 45 * make grep-2.3g available for testing. 46 * configure.in: drop support for --without-included-regex. 47 This was generating bogus bug reports, since many GNU/Linux 48 users have different version of glibc. And glibc maintainers | 201999-11-18 Paul Eggert 21 22 * m4/largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a 23 problem with the QNX 4.25 shell, which doesn't propagate exit 24 status of failed commands inside shell assignments. 25 261999-11-13 Eli Zaretskii 27 --- 32 unchanged lines hidden (view full) --- 60 * src/search.c: Use the more portable [[:alnum:]] 61 to define a word instead of Ascii dependent [0-9A-Za-z] 62 * src/grep.c: make not_text global to not display text when 63 the context switches -A/-B/-C are use on binary files. 64 * make grep-2.3g available for testing. 65 * configure.in: drop support for --without-included-regex. 66 This was generating bogus bug reports, since many GNU/Linux 67 users have different version of glibc. And glibc maintainers |
49 decided to drop k&r support. 50 | 68 decided to drop k&r support. 69 |
511999-11-01 Arnold D. Robbins 52 53 * regex.c (init_syntax_once): move below definition of 54 ISALNUM etc., then use ISALNUM to init the table, so that 55 the word ops will work if i18n'ed. 56 (SYNTAX): And subscript with 0xFF for Latin-1 characters. 57 581999-10-26 Alain Magloire --- 238 unchanged lines hidden (view full) --- 297 if -z or --null-data is specified, since it implies that '\0' is 298 expected as text. 299 300 * src/search.c (Gcompile, Ecompile): Pass eolbyte to dfasyntax. 301 (EGexecute, Fexecute): Use eolbyte instead of '\n'. 302 3031999-06-15 Alain Magloire 304 | 701999-11-01 Arnold D. Robbins 71 72 * regex.c (init_syntax_once): move below definition of 73 ISALNUM etc., then use ISALNUM to init the table, so that 74 the word ops will work if i18n'ed. 75 (SYNTAX): And subscript with 0xFF for Latin-1 characters. 76 771999-10-26 Alain Magloire --- 238 unchanged lines hidden (view full) --- 316 if -z or --null-data is specified, since it implies that '\0' is 317 expected as text. 318 319 * src/search.c (Gcompile, Ecompile): Pass eolbyte to dfasyntax. 320 (EGexecute, Fexecute): Use eolbyte instead of '\n'. 321 3221999-06-15 Alain Magloire 323 |
305 * src/grep.c, doc/grep{1,texi} : | 324 * src/grep.c, doc/grep{1,texi} : |
306 --revert-match should be --invert-match. 307 Correction proposed by Karl Berry. 308 3091999-06-12 Alain Magloire 310 311 * doc/grep.{1,texi}: add description for --with-filename. 312 Noted missing by UEBAYASHI Masao. 313 --- 18 unchanged lines hidden (view full) --- 332 * src/grep.c (usage): Don't report -E, -F, and -G unless we're grep. 333 (main): Don't match options -E, -F, and -G unless we're grep. 334 Remove after-the-fact check for options -E, -F, and -G, since 335 they're no longer needed. 336 3371999-03-05 Eli Zaretskii 338 339 * src/grep.c (main): Print the name of the default matcher instead | 325 --revert-match should be --invert-match. 326 Correction proposed by Karl Berry. 327 3281999-06-12 Alain Magloire 329 330 * doc/grep.{1,texi}: add description for --with-filename. 331 Noted missing by UEBAYASHI Masao. 332 --- 18 unchanged lines hidden (view full) --- 351 * src/grep.c (usage): Don't report -E, -F, and -G unless we're grep. 352 (main): Don't match options -E, -F, and -G unless we're grep. 353 Remove after-the-fact check for options -E, -F, and -G, since 354 they're no longer needed. 355 3561999-03-05 Eli Zaretskii 357 358 * src/grep.c (main): Print the name of the default matcher instead |
340 of just "grep". | 359 of just "grep". |
341 3421999-02-06 Alain Magloire 343 344 * tests/*.awk : Linux users are seeing "Broken Pipe" on make check. 345 The problem is that grep does not drain its stdin, thus the previous 346 process in the pipeline receives a SIGPIPE. Other shells are silent 347 about this. There is actually no failure, since the broken pipe is 348 expected. You can work around it by changing the pipeline, so that 349 the input is drained, like this: 350 status=`echo 'check' | { ${GREP} -E -e pattern >/dev/null 2>&1; 351 echo $?; cat >/dev/null; }`; if test $status -ne $errnu then ... fi | 360 3611999-02-06 Alain Magloire 362 363 * tests/*.awk : Linux users are seeing "Broken Pipe" on make check. 364 The problem is that grep does not drain its stdin, thus the previous 365 process in the pipeline receives a SIGPIPE. Other shells are silent 366 about this. There is actually no failure, since the broken pipe is 367 expected. You can work around it by changing the pipeline, so that 368 the input is drained, like this: 369 status=`echo 'check' | { ${GREP} -E -e pattern >/dev/null 2>&1; 370 echo $?; cat >/dev/null; }`; if test $status -ne $errnu then ... fi |
352 Excerpt email from Andreas Schwab. | 371 Excerpt email from Andreas Schwab. |
353 3541999-02-23 Alain Magloire 355 356 * src/grep.c : Restrict the use of -E, -F, -G 357 to only grep driver, Posix behaviour. {f,e}grep 358 the matcher is already set. This change may brake 359 scripts, warn in NEWS. 360 --- 104 unchanged lines hidden (view full) --- 465 This little hack was suggested by Ian Roxborough <irox@cygnus.com>. 466 Patch forwarded by Ben Elliston. 467 4681999-01-28 Alain Magloire 469 470 * PATCHES-AM: New file. A small patch for automake-1.4, use $(sep) 471 as the path separator base on @SEP@. 472 * PATCHES-AC configure.in : updated for autoconf-13. | 372 3731999-02-23 Alain Magloire 374 375 * src/grep.c : Restrict the use of -E, -F, -G 376 to only grep driver, Posix behaviour. {f,e}grep 377 the matcher is already set. This change may brake 378 scripts, warn in NEWS. 379 --- 104 unchanged lines hidden (view full) --- 484 This little hack was suggested by Ian Roxborough <irox@cygnus.com>. 485 Patch forwarded by Ben Elliston. 486 4871999-01-28 Alain Magloire 488 489 * PATCHES-AM: New file. A small patch for automake-1.4, use $(sep) 490 as the path separator base on @SEP@. 491 * PATCHES-AC configure.in : updated for autoconf-13. |
473 | 492 |
4741999-01-27 Volker Borchert 475 476 * grep.c: fgrep -NUM not working correctly. 477 add the argument number to digit_args_val. 478 4791999-01-22 Paul Eggert 480 481 Prevent grep -r from recursing infinitely through directory loops via --- 822 unchanged lines hidden --- | 4931999-01-27 Volker Borchert 494 495 * grep.c: fgrep -NUM not working correctly. 496 add the argument number to digit_args_val. 497 4981999-01-22 Paul Eggert 499 500 Prevent grep -r from recursing infinitely through directory loops via --- 822 unchanged lines hidden --- |