#!/bin/bash

declare -ar groups=( g1.dat g2.dat g3.dat g4.dat )

for g in "${groups[@]}"; do
    echo $g
    processOL92 $g ol92-${g%%.dat}
    awk '{print $1}' $g | minmax
done
