Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'releng/org.eclipse.emf.cdo.releng/docs/multi-line-replace.txt')
-rw-r--r--releng/org.eclipse.emf.cdo.releng/docs/multi-line-replace.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/releng/org.eclipse.emf.cdo.releng/docs/multi-line-replace.txt b/releng/org.eclipse.emf.cdo.releng/docs/multi-line-replace.txt
new file mode 100644
index 0000000000..d71b13053f
--- /dev/null
+++ b/releng/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