-
Notifications
You must be signed in to change notification settings - Fork 0
/
.my-beagrep-filter-android
executable file
·48 lines (44 loc) · 1.09 KB
/
.my-beagrep-filter-android
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env /usr/bin/python
import sys
while True:
line = sys.stdin.readline()
if not line:
break
if "/theatre-doc/" in line:
continue
if "cscope.files" in line:
continue
if "/1.xml" in line:
continue
if "/2.xml" in line:
continue
if "/3.xml" in line:
continue
if "/4.xml" in line:
continue
if "/5.xml" in line:
continue
if "/6.xml" in line:
continue
if "/7.xml" in line:
continue
if "/8.xml" in line:
continue
if "/current.xml" in line:
continue
if "/cts/" in line:
continue
if "/test/" in line:
continue
if "/tests/" in line:
continue
if "/values-" in line:
if "/values-zh-rCN" in line:
pass
elif "/values-land" in line:
pass
elif "/values-port" in line:
pass
else:
continue
print "%s" % line[:-1]