[Top][All Lists]

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

bug#21251: sed: POSIX and the z command

From: Assaf Gordon
Subject: bug#21251: sed: POSIX and the z command
Date: Sat, 28 Jan 2017 01:48:19 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

Hello Stephane,

Sorry for the delayed response. I'm triaging old sed bugs.

On Thu, Aug 13, 2015 at 03:55:20PM +0100, Stephane Chazelas wrote:
[...] The behaviour
of sed on non-text input is unspecified, so it doesn't require
that . not match a byte that is not part of a valid character.
That POSIX requirement is true for regexec() but not for text

I'm far from familiar with POSIX intricacies, but doesn't that sound a bit strange ? I would naively think that POSIX would encourage POSIX-compliant test utilities to use the system's native regexec implenentation, instead of supporting slightl different semantics...
See that discussion on the Austin Group mailing list:

This link seems broken. Would you know where to find this discussion online ?

- assaf

reply via email to

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