Use grep on the results of splitting your source lines on ;. If you just want to filter the file judicious use of the -F, -a, and -n options (see perlrun) for a one-liner would do the trick.
In reply to Re: select elements in a list
by Fletch
in thread select elements in a list
by steph_bow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |