home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / grep20.zip / NEWS < prev    next >
Text File  |  1993-05-03  |  2KB  |  36 lines

  1. Version 2.0:
  2.  
  3. The most important user visible change is that egrep and fgrep have
  4. disappeared as separate programs into the single grep program mandated
  5. by POSIX 1003.2.  New options -G, -E, and -F have been added,
  6. selecting grep, egrep, and fgrep behavior respectively.  For
  7. compatibility with historical practice, hard links named egrep and
  8. fgrep are also provided.  See the manual page for details.
  9.  
  10. In addition, the regular expression facilities described in Posix
  11. draft 11.2 are now supported, except for internationalization features
  12. related to locale-dependent collating sequence information.
  13.  
  14. There is a new option, -L, which is like -l except it lists
  15. files which don't contain matches.  The reason this option was
  16. added is because '-l -v' doesn't do what you expect.
  17.  
  18. Performance has been improved; the amount of improvement is platform
  19. dependent, but (for example) grep 2.0 typically runs at least 30% faster
  20. than grep 1.6 on a DECstation using the MIPS compiler.  Where possible,
  21. grep now uses mmap() for file input; on a Sun 4 running SunOS 4.1 this
  22. may cut system time by as much as half, for a total reduction in running
  23. time by nearly 50%.  On machines that don't use mmap(), the buffering
  24. code has been rewritten to choose more favorable alignments and buffer
  25. sizes for read().
  26.  
  27. Portability has been substantially cleaned up, and an automatic
  28. configure script is now provided.
  29.  
  30. The internals have changed in ways too numerous to mention.
  31. People brave enough to reuse the DFA matcher in other programs
  32. will now have their bravery amply "rewarded", for the interface
  33. to that file has been completely changed.  Some changes were
  34. necessary to track the evolution of the regex package, and since
  35. I was changing it anyway I decided to do a general cleanup.
  36.