added script for sed'ing thhrough all source files
authorMartin Willi <martin@strongswan.org>
Wed, 11 Apr 2007 07:19:17 +0000 (07:19 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 11 Apr 2007 07:19:17 +0000 (07:19 -0000)
scripts/sedder [new file with mode: 0755]

diff --git a/scripts/sedder b/scripts/sedder
new file mode 100755 (executable)
index 0000000..dc0ad31
--- /dev/null
@@ -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
+
+
+
+