Rev 8844 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8844 | bpr | 1 | #! /bin/sh |
2 | |||
3 | wims_home=`pwd`; |
||
4 | wims_dirtest="$wims_home/wimstest/dirtest"; |
||
5 | oef2wims_mdef="oefenv" |
||
6 | export oef2wims_mdef |
||
8865 | bpr | 7 | mkdir -p $wims_home/wimstest/tmp/diroef |
8 | for a in `ls $wims_dirtest/diroef` ; do |
||
9 | echo $a |
||
10 | $wims_home/src/OefMsg2wims/oef2wims $wims_dirtest/diroef/$a $wims_home/wimstest/tmp/diroef/b |
||
11 | perl -pi -e 's/ +\n/\n/g' $wims_home/wimstest/tmp/diroef/b |
||
12 | mv -f $wims_home/wimstest/tmp/diroef/b $wims_home/wimstest/tmp/diroef/$a |
||
13 | done |