in reply to greping for names

Since you mention grep yourself:
print grep {/\.c$/} <>;


T I M T O W T D I