Make findfunc look for .spec files, and put it with the other tools.
This commit is contained in:
parent
b111b6d28f
commit
471323665d
|
@ -1,10 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
name="blah"
|
||||
|
||||
while [ "$name" != "" ]
|
||||
do
|
||||
echo -n 'Function: '
|
||||
read name
|
||||
grep -i $name *.spec
|
||||
done
|
|
@ -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
|
Loading…
Reference in New Issue