sed-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] sed: add --error-if-unmodified to error out if input was not


From: Florian Schmaus
Subject: Re: [PATCH] sed: add --error-if-unmodified to error out if input was not mutated
Date: Wed, 6 Jul 2022 14:55:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

As I was pointed out yesterday by my fellow Gentoo developers, this patch barely scratches the surface of what could constitute sed mutating the input and misses a lot of cases. So please consider this an idealistic but naive approach. :)

I was already aware that my patch only handles the 's' command, but people came up with very interesting combinations of commands and sed command line flags that would mutate (or not) the input.

I think what is left is me asking the developers of sed if adding such a functionality in a reliable, efficient, and maintainable way can even be considered possible?

- Flow



reply via email to

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