mirror of https://github.com/mkerrisk/man-pages
core.5: Change single quote to double quote in shell session example
The example section has a sample shell session containing: But $PWD won't be expanded in single quotes. It should be double quotes around the entire argument or some other form. Reported-by: Roger Pate <roger@qxxy.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
be78d88194
commit
e9b7792542
|
@ -20,7 +20,7 @@
|
|||
.\" Formatted or processed versions of this manual, if unaccompanied by
|
||||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.TH CORE 5 2010-02-27 "Linux" "Linux Programmer's Manual"
|
||||
.TH CORE 5 2010-11-15 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
core \- core dump file
|
||||
.SH DESCRIPTION
|
||||
|
@ -308,8 +308,8 @@ The following shell session demonstrates the use of this program
|
|||
.RB "$" " cc \-o core_pattern_pipe_test core_pattern_pipe_test.c"
|
||||
.RB "$" " su"
|
||||
Password:
|
||||
.RB "#" " echo \(aq|$PWD/core_pattern_pipe_test %p \
|
||||
UID=%u GID=%g sig=%s\(aq > \e"
|
||||
.RB "#" " echo \(dq|$PWD/core_pattern_pipe_test %p \
|
||||
UID=%u GID=%g sig=%s\(dq > \e"
|
||||
.B " /proc/sys/kernel/core_pattern"
|
||||
.RB "#" " exit"
|
||||
.RB "$" " sleep 100"
|
||||
|
|
Loading…
Reference in New Issue