Files
strongswan-ext/Source/scripts/replace
T
Martin Willi 8bc96e08cb - fixed log-to-syslog behavior
- added patch against strongswan-2.6.4
2006-04-20 07:06:39 +00:00

10 lines
134 B
Bash
Executable File

#!/bin/bash
FILES=`find . -name '*.[ch]'`
for FILE in $FILES
do
TMP=${FILE}_tmp
sed "s/$1/$2/g" < $FILE > $TMP
mv $TMP $FILE
done