GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
1#!/bin/bash 2 3DIRH=`pwd` 4 5 6 7for x in dir.* ; do 8 cd $x 9 10 for y in ordnung.* ; do 11 cd $y 12 13 for z in * ; do 14 cd $z 15 16 for zz in group.* min.* max.* ; do 17 if [ -s $zz ] ; then 18 rm g.$zz gg.$zz $zz.* 19 fi 20 done 21 22 cd .. 23 done 24 cd .. 25 done 26 27 cd $DIRH 28 29done 30 31 32