summaryrefslogtreecommitdiff
path: root/count_api_dups.sh
blob: 09caac45a55169fdf25203d455fc778eccb7718a (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ "$#" -lt 2 ]; then
    echo "Usage: $0 <search dir> <include dir>"
    exit 1
fi

find $1 -exec $PWD/prop_func_dump -I $2 {} \; | sort | uniq -c -d