blob: 0cb746b5bca8aff1e30557cbe413bdb36964d7ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
# check error messages on lines past 2^16
SEDLINUM_PROG='s/^\([^:][^:]*:[0-9]\{4\}\)[0-9]\.[0-9][0-9]*:.*$/\1x/p'
xmldoc()
{
BAD="$1"
DOCTYPE="$2"
echo '<?xml version="1.0"?>'
[ -n "$DOCTYPE" ] && echo "$DOCTYPE"
echo '<root>'
${AWK:-awk} 'BEGIN{for(i=0; i < 69999; i++) print ""}' < /dev/null
echo "$BAD"
echo '</root>'
}
|