aboutsummaryrefslogtreecommitdiffstats
path: root/net/wifi-firmware-kmod/files/WHENCE.awk.in
blob: 38a7c27a97a2416c6b70a745346a810318dc877f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
BEGIN {
	start=1;
	block=0;
}
{
	if (start == 1) {
		print;
		if (/^----/) {
			start=0;
		}
	}
	if (block == 0) {
		if (/^Driver: %%XXX%%/) {
			block=1;
			printf "\n";
			print;
		}
	} else {
		print;
		if (/^----/) {
			block=0;
		}
	}
}