How to do case-insensitive multiple replacement using "vi"? -
Actually I want to make the following replacement using vi:
Apple-> Orange Apple- & gt; Orange APPLE- & gt; ORANGE Is there a way to do it in one line?
You can use the sed command
$ cat os .txt Best Unix Unix UNIX SAD supports "case insensitive" search of "I" or "I" If you need to use vi then this command
1, $ s / apple / orange / gi
Comments
Post a Comment