bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PCRE mode for sed


From: Bob Proulx
Subject: Re: PCRE mode for sed
Date: Mon, 5 Nov 2012 17:02:59 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]