diff --git a/plugins/org.eclipse.wtp.releng.utilities/sedscript.sed b/plugins/org.eclipse.wtp.releng.utilities/sedscript.sed index 7eaaab6a38d3db646467b7f723519c0f0312fd60..5dfc4e318957550986f6f30127e217e408bd26d1 100644 --- a/plugins/org.eclipse.wtp.releng.utilities/sedscript.sed +++ b/plugins/org.eclipse.wtp.releng.utilities/sedscript.sed @@ -1,17 +1,17 @@ -# This script finds patterns of the old form of specifying modules, that -# consist of a path name ending with a module name. We know the model name -# should stay the same, so this is just to tweak the path names. -# Thought to be useful for map files and Team Project Sets. +# This script finds patterns of the old form of specifying modules, that +# consist of a path name ending with a module name. We know the model name +# should stay the same, so this is just to tweak the path names. +# Thought to be useful for map files and Team Project Sets. # Example use: # The easiest case, if only a few files -# sed -f sedscript.sed oldfile.pfs > newfile.pfs -# Using the inplace option worked for me on Linux, but not +# sed -f sedscript.sed oldfile.pfs > newfile.pfs +# Using the inplace option worked for me on Linux, but not # for me on Windows using Cygwin # sed -ibak -f sedscript.sed *.pfs -$ A classic form: -# find releng/maps/ -name *.map -exec sed -ibak -f sedscript.sed '{}' \; +# A classic form: +# find releng/maps/ -name *.map -exec sed -ibak -f sedscript.sed '{}' \; s:jst/components/assembly/features/org.eclipse.jst.feature:webtools.releng/assembly/features/org.eclipse.jst.feature:g s:jst/components/assembly/features/org.eclipse.jst.sdk:webtools.releng/assembly/features/org.eclipse.jst.sdk:g