blob: abcaf48232377c821b3d0e461692deb2ed9eda4b [file] [log] [blame]
Jari Aalto31859422009-01-12 13:36:28 +00001.\"
2.\" MAN PAGE COMMENTS to
3.\"
4.\" Chet Ramey
5.\" Case Western Reserve University
6.\" chet@po.cwru.edu
7.\"
Chet Ramey8868eda2020-12-06 15:51:17 -05008.\" Last Change: Sun Aug 2 15:39:07 EDT 2020
Jari Aalto31859422009-01-12 13:36:28 +00009.\"
Chet Ramey8868eda2020-12-06 15:51:17 -050010.TH BASHBUG 1 "2020 August 1" "GNU Bash 5.1"
Jari Aaltoccc6cda1996-12-23 17:02:34 +000011.SH NAME
12bashbug \- report a bug in bash
13.SH SYNOPSIS
Jari Aalto31859422009-01-12 13:36:28 +000014\fBbashbug\fP [\fI--version\fP] [\fI--help\fP] [\fIemail-address\fP]
Jari Aaltoccc6cda1996-12-23 17:02:34 +000015.SH DESCRIPTION
16.B bashbug
17is a shell script to help the user compose and mail bug reports
18concerning bash in a standard format.
19.B bashbug
20invokes the editor specified by the environment variable
21.SM
22.B EDITOR
23on a temporary copy of the bug report format outline. The user must
24fill in the appropriate fields and exit the editor.
25.B bashbug
Jari Aaltob72432f1999-02-19 17:11:39 +000026then mails the completed report to \fIbug-bash@gnu.org\fP, or
Jari Aalto31859422009-01-12 13:36:28 +000027\fIemail-address\fP. If the report cannot be mailed, it is saved in the
Jari Aaltoccc6cda1996-12-23 17:02:34 +000028file \fIdead.bashbug\fP in the invoking user's home directory.
29.PP
30The bug report format outline consists of several sections. The first
31section provides information about the machine, operating system, the
32bash version, and the compilation environment. The second section
33should be filled in with a description of the bug. The third section
34should be a description of how to reproduce the bug. The optional
35fourth section is for a proposed fix. Fixes are encouraged.
36.SH ENVIRONMENT
37.B bashbug
38will utilize the following environment variables if they exist:
39.TP
40.B EDITOR
41Specifies the preferred editor. If
42.SM
43.B EDITOR
44is not set,
45.B bashbug
Chet Rameya0c0a002016-09-15 16:59:08 -040046attempts to locate a number of alternative editors, including
Chet Ramey8868eda2020-12-06 15:51:17 -050047.BR emacs .
48If
49.B bashbug
50cannot locate any of the alternative editors, it attempts to execute \fBvi\fP.
Jari Aaltoccc6cda1996-12-23 17:02:34 +000051.TP
52.B HOME
53Directory in which the failed bug report is saved if the mail fails.
Jari Aalto31859422009-01-12 13:36:28 +000054.TP
55.B TMPDIR
56Directory in which to create temporary files and directories.
57.SH "SEE ALSO"
58.TP
59\fIbash\fP(1)
60.SH AUTHORS
61Brian Fox, Free Software Foundation
62.br
63bfox@gnu.org
64.PP
65Chet Ramey, Case Western Reserve University
66.br
67chet@po.cwru.edu