Original 20051017 tarball
[acx-mac80211.git] / script / count_ACX.sh
blob5be54a8c4a6144022dd4ce4c3f5b9226c22d0823
1 #!/bin/sh
3 # Useful to identify which files contain PCI/USB
4 # specific parts, and how many of them
7 echo " ACX_PCI"
8 grep -c '^#if ACX_PCI$' * | sort -t: -k2,99 -r | grep -v :0$
9 echo " ACX_USB"
10 grep -c '^#if ACX_USB$' * | sort -t: -k2,99 -r | grep -v :0$
11 } | $PAGER