[ILUG-BOM] FOSS profit
mohansn at gmail.com
Fri Dec 31 00:49:55 IST 2010
On Fri, Dec 31, 2010 at 12:06 AM, Rony <gnulinuxist at gmail.com> wrote:
> I have been wanting to ask this for a long time. What is this code many
> of you guys use to show corrections? 's/wrong/right/' ?
This is the syntax of ed/sed which is also used in vim.
e.g. In vim, <Esc>:s/foo/bar/<Enter> to change the first occurrence of
'foo' to 'bar' on the current line.
Mohan S N
Faithless is he that says farewell when the road darkens.
-- J. R. R. Tolkien
More information about the Linuxers