#!/bin/sh grep -nf test.txt "$1" | sed -e "s!^!$1:!"
find . -type f -name \*.java -exec ./mygrep {} \;