aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-04-11 07:19:17 +0000
committerMartin Willi <martin@strongswan.org>2007-04-11 07:19:17 +0000
commit2ed8cee162a32c8e781472e7190e109866972cae (patch)
treedc1e1a031e03889b904b233c9f19abc7823c9f39 /scripts
parentde55c6895f87b6a1b2b480f208e9a7ec19827dbf (diff)
downloadstrongswan-2ed8cee162a32c8e781472e7190e109866972cae.tar.bz2
strongswan-2ed8cee162a32c8e781472e7190e109866972cae.tar.xz
added script for sed'ing thhrough all source files
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sedder13
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
+
+
+
+