Replace Text in a File: Revision history

From KlavoWiki
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

13 September 2011

  • curprev 06:0906:09, 13 September 2011David Sọ̀rọ̀ contribs 460 bytes +460 Created page with "To replace text in a single file or multiple files. <pre> sed -i 's/foo/foo-bar/g' 96??.cfg </pre> This will replace all the text that has foo with foo-bar in all files starting..."