Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed recursive replace

grep -rl oldtext . | xargs sed -i 's/oldtext/newtext/g'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sed #recursive #replace
ADD COMMENT
Topic
Name
7+6 =