[Toybox] [PATCH] sed s///: support POSIX I as synonym for i

enh enh at google.com
Fri Mar 27 17:03:13 PDT 2020


POSIX chose I rather than i as the case-insensitive flag for s///,
because apparently more seds support I than i. We're allegedly alone in
only supporting i. (On the Mac, sed supports neither.)

Strictly this isn't *currently* in POSIX, but it's been accepted for
issue 8.

Bug: https://austingroupbugs.net/view.php?id=779#c2050
---
 tests/sed.test   | 2 ++
 toys/posix/sed.c | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sed-s-support-POSIX-I-as-synonym-for-i.patch
Type: text/x-patch
Size: 1985 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200327/ef3ba134/attachment.bin>


More information about the Toybox mailing list