$ curl -sL http://bit.ly/xpkkso | tidy 2>&1 | sed -n '105,106p'
This document has errors that must be fixed before
using HTML Tidy to generate a tidied up version.
$ tidy -help-config | grep force
force-output Boolean y/n, yes/no, t/f, true/false, 1/0
$ tidy -show-config | grep force-output
force-output Boolean no
$ curl -sL http://bit.ly/xpkkso | tidy --force-output true \
2>/dev/null | head -n 5
<!DOCTYPE html>
<html b:version='2' class='v2' dir='ltr'>
<head>
<meta name="generator" content=
"HTML Tidy for Mac OS X (vers 25 March 2009), see www.w3.org">
Kommentare (1)