repo.or.cz
/
acx-mac80211.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Original 20051017 tarball
[acx-mac80211.git]
/
script
/
count_ACX.sh
blob
5be54a8c4a6144022dd4ce4c3f5b9226c22d0823
1
#!/bin/sh
2
3
# Useful to identify which files contain PCI/USB
4
# specific parts, and how many of them
5
6
{
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