in reply to Re: String processing
in thread String processing

Forgot the skipping comments part! :)
perl -lane '/^#/ || $F[3]=~($F[1]=~s/./($&)?/gr) && printf "%-50s%s\n", $_, join ", ", @+[eval $F[5]]'