repo.or.cz
/
wine
/
gsoc_dplay.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Create the +msidb debug channel for msi database code.
[wine/gsoc_dplay.git]
/
tools
/
findfunc
blob
111aabacb5af3de8332423018064f0670b1d2a04
1
#!/bin/sh
2
name
=
"
$1
"
3
if
[
"
$name
"
=
""
] ;
then
4
echo -n
'Function: '
5
read
name
;
6
fi
7
8
while
[
"
$name
"
!=
""
]
9
do
10
find
$
(
dirname
$0
)/
..
/
-name
\
*
.spec |
xargs
-l1024
grep
-i
$name
11
find
$
(
dirname
$0
)/
..
/
-name
\
*
.
[
ch
]
|
xargs grep
-i
"WINAPI[[:space:]]\+
$name
"
12
echo -n
'Function: '
13
read
name
14
done