Introduces CEP project
[lcapit-junk-code.git] / git-search
blobcc64701919a1003e92c13c32100e431d54668b70
1 #!/bin/sh
3 for dir in $(ls); do
4 pushd $dir 1> /dev/null
5 for file in $(ls); do
6 obj="$dir$file"
7 type=$(git-cat-file -t $obj)
8 if [ "$type" = "blob" ]; then
9 ret=$(git-cat-file blob $obj | grep Elf)
10 if [ -n "$ret" ]; then
11 echo $obj
14 done
15 popd 1> /dev/null
16 done
18 exit 0