sortseis.sh 278 Bytes
Newer Older
Tilman Steinweg's avatar
Tilman Steinweg committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
echo
echo =====================================================================
echo "Enter number of shots:"
read nshot1
echo

N=1

while test $N -le $nshot1
do
	f="./su/kugel/kugel.shot$N"
	
	echo $f

	susort < $f gy > $f.sort
	cp $f.sort $f
	rm $f.sort
	N=`expr $N + 1`
done