On 2022-10-21 at 16:16, Greg Wooledge wrote:

> On Fri, Oct 21, 2022 at 03:09:32PM -0400, The Wanderer wrote:
> 
>> IOW, each seems to be half of the usual '\b' (edge of a word) set.
>> With the default sed behavior (not sure whether that's basic
>> regular expressions or extended regular expressions, in the
>> nomenclature of the info document), you can use replace the latter
>> with an alternation of both of the former:
> 
> The things you're discussing here, \< \> \b, are all GNU extensions. 
> They're *not* part of the POSIX standard BRE and ERE languages.
> 
> This doesn't mean you should stop using them.  Just that you should
> be aware that your script is not going to be portable if you use
> them.

Sure. My point was more that it's not terribly hard to find out what the
"special meaning to GNU sed" that this syntax has is; you just have to
do a bit of searching in the info document.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to