in reply to Grep-Like Activity
You can use a2p to find it out. This simple awk script prints lines matching a regexp:
/foo/ [download]
while (<>) { print $_ if /foo/; } [download]