grep.cpp option handling added