From: Warren Block <wblock@wonkity.com>
To: discuss@mdocml.bsd.lv
Subject: File type detection
Date: Mon, 31 Aug 2015 19:43:12 -0600 (MDT) [thread overview]
Message-ID: <alpine.BSF.2.20.1508311938410.81774@wonkity.com> (raw)
Just tonight, it was pointed out on IRC that 'man /bin/sh' on FreeBSD
failed spectacularly. Unfortunately, 'mandoc /bin/sh' also fails,
although not as badly.
Is it feasible to use file(1) to check a file's type before displaying
it? Or maybe to incorporate some of those or similar tests directly
into mandoc?
--
To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv
next reply other threads:[~2015-09-01 1:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-01 1:43 Warren Block [this message]
2015-09-02 15:33 ` Ingo Schwarze
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.BSF.2.20.1508311938410.81774@wonkity.com \
--to=wblock@wonkity.com \
--cc=discuss@mdocml.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).