Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng/docs/multi-line-replace.txt')
-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