added script for sed'ing thhrough all source files

This commit is contained in:
Martin Willi committed 2007-04-11 07:19:17 +00:00
1 parent de55c6895f
commit 2ed8cee162
1 file changed
+13
Executable
+13
View File
@@ -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