Version: 3.0.0a4 (using KDE 3.1.1) Installed from: compiled sources Compiler: gcc version 3.2.2 OS: SunOS (sun4u) release 5.8 my Solaris version: 5.8 no version number of 'egrep' avaiable Kdevelop: > find <where> | grep -v "SCCS/" | grep -v "CVS/" | xargs egrep -H -n -e '<what>' > egrep: illegal option -- H > usage: egrep [ -bchilnsv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ... Linux man page 'egrep': -H, --with-filename Print the filename for each match. -h, --no-filename Suppress the prefixing of filenames on output when multiple files are searched. Solaris man page 'egrep': -h Suppress printing of filenames when searching multiple files. There isn't any option to remove the '-H' ??
Annoyingly we need the "-H" option not to be buggy with GNU grep. :( Attempted hotfix by preprocessor switch. Please reopen if it fails.