From LedHed's Wiki
Revision as of 17:36, 26 May 2010 by Ledhed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Inline Find and Replace

To do an inline find and replace using sed use the following syntax

sed -i s/<FIND_TEXT>/<REPLACE_TEXT>/g

-i = Inline
s/ = Search
/g = Global