From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 133c3d14; for ; Sat, 3 Jan 2015 18:31:23 -0500 (EST) Received: by mail-wg0-f54.google.com with SMTP id z12so7890626wgg.27 for ; Sat, 03 Jan 2015 15:31:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=bNRdXhYkXPUEDLK3GI65KZOTyYXEjHZ0Os/Qu5DTLJQ=; b=hvF2o2195t5TqqeotNr2aflblxf5QW3ZpvGd48VQBwu5yoGH8U0wdQnsOZ3dXeaa5j ZA97wdgjfIxIYrGt5QQiqVemNGADorQhoUVgoR+Gz9SemCeA0+RZHZ069pY/o8oYEkzZ 2lWnOuuC8SZxb8YMsbflFx+27LUgVwEmT31KGVVAF3baR1qaOgtNUA3bn72SRcbxyFl9 jKnZbznuAKF741MLMf8wm0I+Ap3cXRFAxSow1qC5HHc592CfjaS2yuHbJSw44vqsLOFT yPEtGXYhVTjEJcJVKUGI/zgD/qaVb+h/fxi8fASV8GnkPS/ucTWRqvdKv6D8c6c7mazu FY0w== X-Received: by 10.194.188.39 with SMTP id fx7mr158925720wjc.113.1420327881033; Sat, 03 Jan 2015 15:31:21 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id gy8sm4065965wib.23.2015.01.03.15.31.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Jan 2015 15:31:20 -0800 (PST) Sender: Baptiste Daroussin Date: Sun, 4 Jan 2015 00:31:18 +0100 From: Baptiste Daroussin To: tech@mdocml.bsd.lv Subject: Reliable way to determine that mandoc cannot render a manpage Message-ID: <20150103233118.GG75600@ivaldir.etoilebsd.net> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oXNgvKVxGWJ0RPMJ" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) --oXNgvKVxGWJ0RPMJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On FreeBSD when switching to mandoc(1) as a default renderer for manpages I made it falling back on groff(1) (for now :)) if mandoc is not able to render the manpage To discover the bad manpages I run mandoc -Tlint -Werror and if a failure occurs then the fall back happens. After checking I can see that mandoc is often correctly able to render the manpages even if they have errors. So my question is: is there a better way to figure out automatically if mandoc will be able to render a manpage? Best regards Bapt --oXNgvKVxGWJ0RPMJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlSoe8MACgkQ8kTtMUmk6EwL2ACfVY/6McAALxdENzXJOoZdSToI 3VcAoL19axd06UHY5J6B5GN7GOlaBij6 =GRtY -----END PGP SIGNATURE----- --oXNgvKVxGWJ0RPMJ-- -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv