[Bug 195929] usr.bin/sed -- constify, remove line-length limits

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 9 13:25:32 UTC 2015


Mikhail Teterin <mi at FreeBSD.org> changed:

           What    |Removed                     |Added
 Attachment #150663|0                           |1
        is obsolete|                            |
                 CC|                            |mi at FreeBSD.org

--- Comment #6 from Mikhail Teterin <mi at FreeBSD.org> ---
Created attachment 152797
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152797&action=edit
Latest installment of sed cleanup

The patch adds some minor cleanups and solves the following actual problems:

* When parsing a regexp in an address (rather than command), only "I" (capital)
  was treated as indication, nocase regexp was desired. Man-page documented the
  "i" (lower case) letter as the flag. GNU sed seems to allow only the upper
  case, but this patch now accepts both upper and lower case "i" in the address
  for consistency with treatment of regexps in the s-command
* Do not compile s-command's regexps twice

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list