From LedHed's Wiki
Jump to: navigation, search
(Created page with '== 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<br> s/ = Search<br> /g = G...')
(No difference)

Revision as of 17:36, 26 May 2010

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