in reply to Parse grep result

See File::Find. Perl really is worth using, rather than programs like grep(1), find(1), and xargs(1).