Date: Sat, 25 May 2019 16:41:05 +0000 (UTC) From: Wolfram Schneider <wosch@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r53058 - head/en_US.ISO8859-1/htdocs/cgi Message-ID: <201905251641.x4PGf5f4048254@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wosch Date: Sat May 25 16:41:05 2019 New Revision: 53058 URL: https://svnweb.freebsd.org/changeset/doc/53058 Log: ascii format: warning message needs to be in ASCII as well Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi ============================================================================== --- head/en_US.ISO8859-1/htdocs/cgi/man.cgi Sat May 25 16:39:41 2019 (r53057) +++ head/en_US.ISO8859-1/htdocs/cgi/man.cgi Sat May 25 16:41:05 2019 (r53058) @@ -1449,6 +1449,10 @@ sub man { &proc( *MAN, $command{'man'}, @manargs, "--", $name ) || &mydie("$0: open of $command{'man'} command failed: $!\n"); if ( eof(MAN) ) { + if ( $format eq "ascii" ) { + print "Sorry, no data found for '$html_name'\n"; + return; + } # print "X $command{'man'} @manargs -- x $name x\n"; print qq{</pre>\n};
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905251641.x4PGf5f4048254>