added script for sed'ing thhrough all source files

This commit is contained in:
Martin Willi
2007-04-11 07:19:17 +00:00
parent de55c6895f
commit 2ed8cee162
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