Did you know that Perl can do just about everything sed can do? A straight-across port might be:
system qq|perl -e 's/$search/$replace/gi' $write > $write2|;I'd likely do it in-process, though.
In reply to Re: how to make sed case INsensitive
by chromatic
in thread how to make sed case INsensitive
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |