#! /bin/sh
# [[replace.sh]] changer des string dans plusieurs fichiers
# filename: replaceallme: replaceall
find . -type f -name '*.htm*' -print | while read i
do
sed 's|^hello|hello world|g' $i > $i.tmp && mv $i.tmp $i
done
 
info/replace.sh.txt · Dernière modification: 2008/11/11 11:37 (modification externe)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki