home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / WIN_NT / SED.ZIP / README < prev    next >
Text File  |  1993-05-21  |  2KB  |  51 lines

  1. This directory contains GNU sed.
  2.  
  3. This sed may run slower than some UN*X seds but it supports a richer
  4. regular expression language than many seds, and has fewer arbitrary
  5. limits (for example, the hold space can grow arbitrarily).
  6.  
  7. A faster version of sed (and of the GNU regex library) is in the
  8. works.
  9.  
  10. See the file INSTALL for compilation and installation instructions.
  11.  
  12.  
  13. ABOUT BUGS
  14.  
  15. Before reporting a bug, please check the list of oft-reported non-bugs
  16. (below).
  17.  
  18. Bugs and comments may be sent to bug-gnu-utils@prep.ai.mit.edu.
  19.  
  20. NONBUGS
  21.  
  22. * `sed -n' and `s/regex/replace/p'
  23.  
  24. Some versions of sed ignore the `p' (print) option of an `s' command
  25. unless the `-n' command switch has been specified.  Other versions
  26. always honor the `p' option.  GNU sed is the latter sort.
  27.  
  28. * regexp syntax clashes
  29.  
  30. GNU sed uses the Posix basic regular expression syntax.  According to
  31. the standard, the meaning of some escape sequences is undefined in
  32. this syntax;  notably  `\|' and `\+'.
  33.  
  34. As in all GNU programs that use Posix basic regular expressions, sed
  35. interprets these escape sequences as meta-characters.  So, `x\+'
  36. matches one or more occurences of `x'.   `abc\|def' matches either
  37. `abc' or `def'.
  38.  
  39. This syntax may cause problems when running scripts written for other
  40. seds.  Some sed programs have been written with the assumption that
  41. `\|' and `\+' match the literal characters `|' and `+'.  Such scripts
  42. must be modified by removing the spurious backslashes if they are to
  43. be used with GNU sed.
  44.  
  45. [If you have need of a free sed that understands the regexp
  46.  syntax of your choice, the source to GNU sed may be a good place to
  47.  start.  Consider changing the call to re_set_syntax in function main
  48.  in `sed.c'.  The file regex.h contains an explanation of the
  49.  supported syntax options.]
  50.  
  51.