[ILUG-BOM] regexp query

Mr.Tejas im_cruel@[EMAIL-PROTECTED]
Thu Dec 11 22:50:32 IST 2003


Hi
Just Try these Ones And See whether It works or not!
 
:s/s1/s2        replace (``substitute'') (the first) s1 in this line by s2

:lr/s/s1/s2/g   replace all instances of s1 in the line range lr by s2
                    (lr is of form `a,b', where a and b are either explicit
                    line numbers, or . (current line) or $ (last line)

















---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing


More information about the Linuxers mailing list