summaryrefslogtreecommitdiffstats
path: root/doc/online/replace
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-19 20:40:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-19 20:40:48 +0000
commitbe4fc77c294a41a0db46ba692fbe45b2045b66c3 (patch)
tree4e930029faf4f131514b080217ad080fd3a5acb8 /doc/online/replace
downloadkpowersave-be4fc77c294a41a0db46ba692fbe45b2045b66c3.tar.gz
kpowersave-be4fc77c294a41a0db46ba692fbe45b2045b66c3.zip
Added KDE3 version of kpowersave
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1092957 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'doc/online/replace')
-rwxr-xr-xdoc/online/replace2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/online/replace b/doc/online/replace
new file mode 100755
index 0000000..9b99c81
--- /dev/null
+++ b/doc/online/replace
@@ -0,0 +1,2 @@
+von='..\/common\/kde_logo.png' nach='kde_logo.png'; filetype='*.html'; OLDIFS=$IFS; IFS='
+' ; files=`find . -name "$filetype"`; for f in $files;do cp $f $f.bak; g="$f.mettytmp"; echo "Searching in $f ..."; cat "$f" | sed "s/$von/$nach/" > "$g" && mv "$g" "$f"; rm -f *.mettytmp; done; IFS=$OLDIFS;