in reply to Grep-Like Activity

You can use a2p to find it out. This simple awk script prints lines matching a regexp:

/foo/
It you feed this to a2p, you get some magic header and this perl script:
while (<>) { print $_ if /foo/; }