#!/bin/rc ### # print out all units that match NAME pattern ### NAME =$1 awk -F* '$1 ~ /'$NAME'/ {print $1}' unt.g