summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-10 00:16:02 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-09-25 22:57:28 +0900
commit696f08238bc25a27e4b96c355c26bc0d27738548 (patch)
tree8db53eff45ae15079297d9fbe01dceafba7817fe /man
parent7c48a70c47998efd66c4fa3a062eaf66e6dd97d4 (diff)
Add "piping bug reports to a program" to the manual page
Diffstat (limited to 'man')
-rw-r--r--man/ruby.19
1 files changed, 9 insertions, 0 deletions
diff --git a/man/ruby.1 b/man/ruby.1
index 779ba734e4..e0d6733880 100644
--- a/man/ruby.1
+++ b/man/ruby.1
@@ -669,6 +669,8 @@ PID of dumped process.
.It %t
Time of dump, expressed as seconds since the
Epoch, 1970-01-01 00:00:00 +0000 (UTC).
+.It %NNN
+A character code in octal.
.El
.Pp
A single % at the end of the template is dropped from the
@@ -678,6 +680,13 @@ 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.
+.Ss Piping bug reports to a program
+If the first character of this file is a pipe symbol (\fB|\fP),
+then the remainder of the line is interpreted as the command-line for
+a program (or script) that is to be executed.
+.Pp
+The pipe template is split on spaces into an argument list before the
+template parameters are expanded.
.Sh SEE ALSO
.Bl -hang -compact -width "https://www.ruby-toolbox.com/"
.It Lk https://www.ruby-lang.org/