Greetings,i mean with the duplicate bug the bug, if you save that noggit spawn a lot of the objects self. And with Copy and Past-Bug mean it, that if you copy and past a object that the height etc. not the same is.man, my englisch is f*ck up.
#!/bin/bashPWD=`pwd`cd "$1"for adt in `ls *.adt`; do fileinfo "$adt"txt=`echo "$adt" | sed -e "s/.adt/.txt/g"`START=`grep -n MDDF "$txt" | sed -e "s/:.*//g"`END=`grep -n MODF "$txt" | sed -e "s/:.*//g"`head -n $(($START - 1)) "$txt" > starttail -n +$END "$txt" > endtail -n +$(($START+1)) "$txt" | head -n $(($END - $START - 2)) > middlecat middle | sort -k 3 | uniq -f 2 > middle_cat start > "$txt"echo MDDF `cat middle_ | wc -l ` >> "$txt"cat middle_ >> "$txt"echo "" >> "$txt"cat end >> "$txt"loadinfo "$adt"rm end middle middle_ start "$txt"donecd "$PWD"