Hi, I would like to implement the 'i' flag for the 's' command in sed(1). This flag would mean that the match must be case insensitive.
I'm not willing to implement this to conform to GNU sed(1), I just find it very handy : s/[Ff][Oo][Oo]/bar/ would become s/foo/bar/i Before I start modifying the code, I would like if it is something that has chances to get commited or not, although SUSv3 doesn't talk about this flag. I also need to add that this change would be a little intrusive in the code. Actually the regular expression gets compiled, then the substitute string and finally flags are handled. Thus this would require scanning flags before compiling the regular expression. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"