[Bug 58052] New: (solaris only) grep menu: egrep doesn't support '-H'

daniel.franke at imbs.uni-luebeck.de daniel.franke at imbs.uni-luebeck.de
Sat May 3 12:59:04 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=58052     
           Summary: (solaris only) grep menu: egrep doesn't support '-H'
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: daniel.franke at imbs.uni-luebeck.de


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' ??




More information about the KDevelop-devel mailing list