[vox-tech] Problems with missing 'missing' file

Troy Arnold troy-vox at zenux.net
Thu Jun 23 15:28:52 PDT 2011


On Wed, Jun 22, 2011 at 09:48:15PM -0700, Shwaine wrote:
> 
> There's a couple ways to go about replacing. The vim substitute command is 
> actually a little counter-intuitive in this case. In the search field of 
> the substitute command, \r means carriage return and \n means line feed, 
> but, in the replacement field, \r means "new line" for the current file 
> format and \n means the null byte. So your substitute command should 
> actually look like this (which seems odd at first glance if you don't 
> know the difference between the special strings in both fields):
> 
> :%s/\r/\r/g
> 

Thanks for that explanation.  This is one of those things that I'd never
taken the time to understand.

-t


More information about the vox-tech mailing list