Changeset 430 for trunk/SRC/Tests/makeold.sh
- Timestamp:
- 04/15/10 15:13:55 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Tests/makeold.sh
r114 r430 2 2 rm -f TestsOld/*.pro 3 3 for i in tst_*.pro 4 5 new=$( basename $i .pro )6 sed -e "/@update/d" \4 do 5 new=$( basename $i .pro ) 6 sed -e "/@update/d" \ 7 7 -e "s/@cm_4mesh/@common/g" \ 8 8 -e "s/@cm_4cal/@common/g" \ … … 31 31 for i in $( egrep -il "^ *(pro|function) .*," *.pro ) 32 32 do 33 a=$( egrep -ih "^ *(pro|function) .*," $i )34 b=${a%%,*}_old,${a#*,}35 sed -e "s/${a}/${b}/" $i > tmp_$$36 mv tmp_$$ $i33 a=$( egrep -ih "^ *(pro|function) .*," $i ) 34 b=${a%%,*}_old,${a#*,} 35 sed -e "s/${a}/${b}/" $i > tmp_$$ 36 mv tmp_$$ $i 37 37 done
Note: See TracChangeset
for help on using the changeset viewer.