diff options
author | Martin Willi <martin@strongswan.org> | 2007-04-11 07:19:17 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-04-11 07:19:17 +0000 |
commit | 2ed8cee162a32c8e781472e7190e109866972cae (patch) | |
tree | dc1e1a031e03889b904b233c9f19abc7823c9f39 /scripts | |
parent | de55c6895f87b6a1b2b480f208e9a7ec19827dbf (diff) | |
download | strongswan-2ed8cee162a32c8e781472e7190e109866972cae.tar.bz2 strongswan-2ed8cee162a32c8e781472e7190e109866972cae.tar.xz |
added script for sed'ing thhrough all source files
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sedder | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/sedder b/scripts/sedder new file mode 100755 index 000000000..dc0ad31c8 --- /dev/null +++ b/scripts/sedder @@ -0,0 +1,13 @@ +#!/bin/bash + +files=`find -name '*.[ch]'` + +for file in $files +do + sed -e $1 $file > $file.sedtmp + mv $file.sedtmp $file +done + + + + |