VIM Usage Tips: Difference between revisions

From Free Knowledge Base- The DUCK Project
Jump to navigation Jump to search
m New page: Replace each occurrence of three commas in a row with a new line character, thus making a new line in the file. :%s/,,, /\r/g
 
mNo edit summary
 
Line 2: Line 2:


  :%s/,,, /\r/g
  :%s/,,, /\r/g
{{:Sparse Entry}}

Latest revision as of 21:08, 6 February 2014

Replace each occurrence of three commas in a row with a new line character, thus making a new line in the file.

:%s/,,, /\r/g

 

Note: This page is notably incomplete. You can help. Please contribute by registering your email address and adding your knowledge to this page. The D.U.C.K. wiki was created to be a free informative place that allows an open exchange of accurate information.
Learn more...