/usr/share/doc/xmlstarlet/examples/bigxml is in xmlstarlet 1.6.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
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>'
}
|