@Stefan: If posting a reply after 2 months is wrong, I have no idea why the discussion is still open and available:)
Anyway, my idea is not to give the exact solution, rather my idea was to give a hint, or idea so that based on the solution provided, the person can build up further.
your comments like 'line numbers were not needed, ~ searched from home, 'etc. were not very mature. Anyway, I however really loved your point that 'find searches the subdirectories also'. Now, that was a really good point that you had there.