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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"