SUPPORT commands


PROGRAM NAME

kgrepobj - grep for strings, routines or function in an object

DESCRIPTION

kgrepobj is used to search for the occurence of text strings, routine names, or function names. It can either search all toolboxes, a specific toolbox, or one object with a toolbox.

REQUIRED ARGUMENTS

Mutually Exclusive Group; you must specify ONE of:

-function
type: string
desc: Specific function to search for
default: {none}
OR
-string
type: string
desc: String expression to search for
default: {none}
OR
-routine
type: string
desc: Specific routine to search for
default: {none}

OPTIONAL ARGUMENTS

-tb
type: string
desc: Toolbox to search
default: {none}
-oname
type: string
desc: Object to search
default: {none}
-type
type: string
desc: Software object type
default: {none}

EXAMPLES

To search for the word donut in all files of the library object kcms,
in the toolbox BOOTSTRAP,
you would use the following command:
    % kgrepobj -tb bootstrap -oname kcms -string donut

SEE ALSO

RESTRICTIONS

kgrepobj currently works like fgrep(1), in that it will only look for fixed strings. In the future it will hopefully support regular expression searches. Feel free to implement this feature.

REFERENCES

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.