[ALUG] Really awkward text parsing shell script question