Rev 8844 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8844 | Rev 8865 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | 2 | ||
3 | wims_home=`pwd`; |
3 | wims_home=`pwd`; |
4 | wims_dirtest="$wims_home/wimstest/dirtest"; |
4 | wims_dirtest="$wims_home/wimstest/dirtest"; |
5 | oef2wims_mdef="oefenv" |
5 | oef2wims_mdef="oefenv" |
6 | export oef2wims_mdef |
6 | export oef2wims_mdef |
- | 7 | mkdir -p $wims_home/wimstest/tmp/diroef |
|
- | 8 | for a in `ls $wims_dirtest/diroef` ; do |
|
7 | 9 | echo $a |
|
8 | $wims_home/src/OefMsg2wims/oef2wims $wims_dirtest/ |
10 | $wims_home/src/OefMsg2wims/oef2wims $wims_dirtest/diroef/$a $wims_home/wimstest/tmp/diroef/b |
9 | perl -pi -e 's/ +\n/\n/g' $wims_home/wimstest/tmp/ |
11 | perl -pi -e 's/ +\n/\n/g' $wims_home/wimstest/tmp/diroef/b |
10 |
|
12 | mv -f $wims_home/wimstest/tmp/diroef/b $wims_home/wimstest/tmp/diroef/$a |
- | 13 | done |