added script for sed'ing thhrough all source files
This commit is contained in:
Executable
+13
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user