On Wed, Apr 24, 2013 at 03:01:41PM -0700, Ben Fritz wrote:
> On Wednesday, April 24, 2013 12:56:20 PM UTC-5, [email protected] wrote:
> > 
> > 
> > "* Type  :s/old/new/g  to substitute 'new' for 'old'."
> > 
> > should be:
> > 
> > "* Type  :s/old/new/g  to substitute 'old' for 'new'."
> > 
> > 
> > 

> I think it's correct as written, but phrased a little strangely.

> I'd rather it say, "Type :s/old/new/g to replace 'old' with 'new'."

I'm guessing here but I bet it was written as it was so as to give the
user a mnemonic for remembering the :s/// command, specifically the
word "substitute" -- the use of the words "old" and "new" in the
example should remove any doubt as to what happens when it's invoked

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui