#!/usr/bin/bash #ls -1 GW*.log for i in GW*.log do ./gws.pl $i | grep SUPXP004 done