Re: PCRE mode for sed

Bob Proulx <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
Christoph Anton Mitterer wrote:
> - Adding a psed binary (or actually a symlink should be enough), which
> is only created when PCRE support is available (guaranteeing that, would
> again be the job of the distro) and automatically implies -P
> Has the advantage that scripts could check for psed and use it only when
> it exists.

  http://www.gnu.org/prep/standards/standards.html#User-Interfaces

  "
  Please don’t make the behavior of a utility depend on the name used to
  invoke it. It is useful sometimes to make a link to a utility with a
  different name, and that should not change what it does.

  Instead, use a run time option or a compilation switch or both to
  select among the alternate behaviors.
  "

Bob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.