Date: Sat, 19 Sep 2015 16:00:51 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287987 - head/usr.bin/man Message-ID: <201509191600.t8JG0pcv070625@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Sep 19 16:00:50 2015 New Revision: 287987 URL: https://svnweb.freebsd.org/changeset/base/287987 Log: Restore man -t for manpages rendered by mandoc Reported by: swills Modified: head/usr.bin/man/man.sh Modified: head/usr.bin/man/man.sh ============================================================================== --- head/usr.bin/man/man.sh Sat Sep 19 13:12:09 2015 (r287986) +++ head/usr.bin/man/man.sh Sat Sep 19 16:00:50 2015 (r287987) @@ -315,7 +315,11 @@ man_display_page() { mandoc_args="-O width=${use_width}" fi testline="mandoc -Tlint -Wunsupp 2>/dev/null" - pipeline="mandoc $mandoc_args | $MANPAGER" + if [ -n "$tflag" ]; then + pipeline="mandoc -Tps $mandoc_args" + else + pipeline="mandoc $mandoc_args | $MANPAGER" + fi if ! eval "$cattool $manpage | $testline" ;then if which -s groff; then
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509191600.t8JG0pcv070625>