1#!/bin/sh 2 3egrep ' ".?Select[a-zA-Z0-9]*",| "NoSelection",| "NoGeneration",' che_litselection.c | sed -e 's/,//' | awk '{printf "%-40s:\n", $0}'>bla1.tmp 4 5egrep '^ .?Select[a-zA-Z0-9]*,' che_litselection.c | sed -e 's/,/",/' | awk '{print "\"" $1}'>bla2.tmp 6 7paste -d" " bla1.tmp bla2.tmp 8rm bla1.tmp bla2.tmp 9 10 11