| commit | 471323665d6a5abd7ff865787268dd993590c44c | [log] [tgz] |
|---|---|---|
| author | Lawson Whitney <lawson_whitney@juno.com> | Fri Oct 13 23:06:40 2000 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Fri Oct 13 23:06:40 2000 +0000 |
| tree | 1633a500685057b7cc3de6a16aede005fcf0ed0d | |
| parent | b111b6d28f2f1fe1cd5e0cc369581fcf79cbd606 [diff] [blame] |
Make findfunc look for .spec files, and put it with the other tools.
diff --git a/tools/findfunc b/tools/findfunc new file mode 100755 index 0000000..46a985b --- /dev/null +++ b/tools/findfunc
@@ -0,0 +1,13 @@ +#!/bin/sh +name="$1" +if [ "$name" == "" ] ; then + echo -n 'Function: ' + read name; +fi + +while [ "$name" != "" ] +do + find $(dirname $0)/../ -name \*.spec | xargs -l1024 grep -i $name + echo -n 'Function: ' + read name +done