Windows is for Wimps
'cause, can you do this?
main=$PWD; for dir in `\ls`; do [ -d $main/$dir ] && cd $main/$dir && echo && echo && echo $main/$dir"\n" && echo && /ppr/cadd/pkgs/openeye/bin/babel3 -i `\ls -c1 *.oeb.gz| head -n1` -o $dir.sdf -n 1 && cp -v $dir.sdf $dir-on-GCRS.ROCS.sdf && for gzed in `\ls *.oeb.gz`; do [ -f $PWD/$gzed ] && sdf=`echo $gzed | sed s/'.oeb.gz'/'.sdf'/` && /ppr/cadd/pkgs/openeye/bin/babel3 -i $gzed -o $sdf -skip 1 && cat $sdf>>$dir-on-GCRS.ROCS.sdf && rm -v $sdf && sleep 1s; done; python ../sortmols.py --in=$dir-on-GCRS.ROCS.sdf --out=$dir-on-ROCS.oeb.gz --blanks_first --sdtag=ComboScore && rm -rv $dir-on-GCRS.ROCS.sdf && sleep 3s; done; cd $main;
or this?
while read line; do echo "${line}"; option=${line}; opt=`echo $option| sed s/\ //g`; echo $option \=\> $opt; for data in `echo IV1 IV2 IS`; do grep -A 100 Evaluation */$data/*-$data.$opt | tee logs/onTrain/${data}${opt}-performances.log; done; done < <(cat option.run)