File: pocheck.awk

package info (click to toggle)
axel 2.17.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,636 kB
  • sloc: sh: 4,868; ansic: 3,718; makefile: 97; sed: 16; awk: 9
file content (9 lines) | stat: -rw-r--r-- 149 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
END { exit broken }
BEGIN { OFS=":" }
/^$/ || /^"Content-Type:/ {
	if (!/charset=(UTF|utf)-8/) {
		print FILENAME, FNR, $0
		++broken
	}
	nextfile
}