1#!/bin/rc 2 3awk ' 4BEGIN { FS = " |, " } 5 { for(i=2; i<=NF; i++)print $i " " $1 } 6' $1 | 7tr A-Z a-z | 8sort -u -t' ' +0f -1 +0 -1 +1n -2 9