perl -pi -e 's/batchSIFTflow1/batchSIFTflowUsingDecaf/g' myBatchSIFTFLowDecaf*.m
grep batchSIFTflowUsingDecaf myBatchSIFTFLowDeca*.m
perl -pi -e 's/gistL2/DecafL2/g' myBatchSIFTFLowDecaf*.m
diff myBatchSIFTflow16.m myBatchSIFTFLowDecaf16.m
sed 's/flow1/flowUsingDecaf/g' myBatchSIFTflow16.m | sed 's/,1,/,20,/g' | sed 's/gistL2/DecafL2/g' > tmp
diff myBatchSIFTflow16.m tmp
for i in {1..47}; do sed 's/flow1/flowUsingDecaf/g' myBatchSIFTflow$i.m | sed 's/,1,/,20,/g' | sed 's/gistL2/DecafL2/g' > myBatchSIFTFLowDecaf$i.m; done
No comments:
Post a Comment