applyChanges4Rev1210 365 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
#
# secures src directory src_beforeRev1210
# replaces according ChangeLog in every 
# file in src directory.
# 
# on your own responsibility
#  Rainer
#
cp -r src src_beforeRev1210
#
Backofen, Rainer's avatar
Backofen, Rainer committed
12
find src/* -type f | while read file
13
14
15
16
do
  gawk '{gsub(/FESpace/,"FeSpace",$0);\
	 gsub(/getRhs/,"getRhs",$0);\
	 print $0}' < $file > $file.$$
Backofen, Rainer's avatar
Backofen, Rainer committed
17
	mv -v $file.$$ $file
18
done