Files
strongswan-ext/Source/scripts/deleteline
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
130 B
Bash
Executable File

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