[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60782] groff: doesn't exit with status 1 when .ab request used wit
From: |
G. Branden Robinson |
Subject: |
[bug #60782] groff: doesn't exit with status 1 when .ab request used with -Thtml |
Date: |
Tue, 15 Jun 2021 15:45:06 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?60782>
Summary: groff: doesn't exit with status 1 when .ab request
used with -Thtml
Project: GNU troff
Submitted by: gbranden
Submitted on: Tue 15 Jun 2021 07:45:04 PM UTC
Category: Core
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
The HTML output driver is not consistent with others. It always emits a blank
document even if there were no text lines in the input, and worse, it doesn't
exit with a nonzero status if the .ab request was used.
$ for D in ps pdf utf8 ascii latin1 lj4 lbp dvi X100-12 html; do echo ".ab" |
groff -T$D; if [ $? != 1 ]; then echo groff -T$D exited with wrong status; fi;
done
User Abort.
User Abort.
User Abort.
User Abort.
User Abort.
User Abort.
User Abort.
User Abort.
User Abort.
User Abort.
<!-- Creator : groff version 1.22.4 -->
<!-- CreationDate: Tue Jun 15 19:43:48 2021 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
h1 { text-align: center }
</style>
<title></title>
</head>
<body>
<hr>
<hr>
</body>
</html>
User Abort.
groff -Thtml exited with wrong status
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60782>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #60782] groff: doesn't exit with status 1 when .ab request used with -Thtml,
G. Branden Robinson <=