while(<>) { print if(substr($_,-3,2) eq ".c"); } [download]
In reply to Re: greping for names by Nightblade in thread greping for names by Sara