#! /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)