Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-03-16 04:50:36 -0400
committerEike Stepper2013-03-16 08:01:39 -0400
commit70e38fe5de7666eb73f328d6214c993abd9b2090 (patch)
treeb8e40c845d93f40b5df6be840ea049fd4b69e967
parent111567554018262873122a1aef4d96288b577253 (diff)
downloadcdo-70e38fe5de7666eb73f328d6214c993abd9b2090.tar.gz
cdo-70e38fe5de7666eb73f328d6214c993abd9b2090.tar.xz
cdo-70e38fe5de7666eb73f328d6214c993abd9b2090.zip
Add multi line replace srcipt
-rw-r--r--plugins/org.eclipse.emf.cdo.releng/docs/multi-line-replace.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng/docs/multi-line-replace.txt b/plugins/org.eclipse.emf.cdo.releng/docs/multi-line-replace.txt
new file mode 100644
index 0000000000..d71b13053f
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.releng/docs/multi-line-replace.txt
@@ -0,0 +1,11 @@
+Multi-line Replace
+==================
+
+for i in `find -name org.eclipse.pde.api.tools.prefs`; do sed -f sed-script $i > $i.new; mv -f $i.new $i; done
+
+sed-script
+==========
+
+1,$s/^search$/search\
+addition/
+

Back to the top