summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-10 00:13:22 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-09-25 22:57:28 +0900
commit6bb4c9de094c824cc3fa43ebeebeda2273fc86b4 (patch)
tree4939ebd90fc89be2d14c2d3dd45b642d3593c645 /man
parent530b5ef6b6cf3c253f75f5c267234541f7ef4122 (diff)
Add `RUBY_BUGREPORT_PATH` to the manual page
Diffstat (limited to 'man')
-rw-r--r--man/ruby.133
1 files changed, 33 insertions, 0 deletions
diff --git a/man/ruby.1 b/man/ruby.1
index e62decbf56..779ba734e4 100644
--- a/man/ruby.1
+++ b/man/ruby.1
@@ -645,6 +645,39 @@ Machine stack size used at fiber creation.
default: 262144 or 524288
.Pp
.El
+.Sh BUG REPORT ENVIRONMENT
+.Pp
+.Bl -tag -compact -width "RUBY_BUGREPORT_PATH"
+.It Ev RUBY_BUGREPORT_PATH
+The template of path name to save bug report.
+default: none
+.El
+.Ss Naming bug report files
+The template can contain % specifiers which are substituted
+by the following values when a bug report file is created:
+.Pp
+.Bl -hang -compact -width "%NNN"
+.It %%
+A single % character.
+.It %e
+Basename of executable.
+.It %E
+Pathname of executable,
+with slashes (\fB/\fP) replaced by exclamation marks (\fB!\fP).
+.It %p
+PID of dumped process.
+.It %t
+Time of dump, expressed as seconds since the
+Epoch, 1970-01-01 00:00:00 +0000 (UTC).
+.El
+.Pp
+A single % at the end of the template is dropped from the
+core filename, as is the combination of a % followed by any
+character other than those listed above.
+All other characters in the template become a literal
+part of the core filename.
+The template may include \(aq/\(aq characters, which are interpreted
+as delimiters for directory names.
.Sh SEE ALSO
.Bl -hang -compact -width "https://www.ruby-toolbox.com/"
.It Lk https://www.ruby-lang.org/