proc.5: Remove bogus suggestion to use cat(1) to read files containing '\0'

Reported-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-10-26 20:05:11 +02:00
parent d1081b23e1
commit 91433f3e5f
1 changed files with 1 additions and 1 deletions

View File

@ -523,6 +523,7 @@ Thus, to print out the environment of process 1, you would do:
.EE .EE
.in .in
.IP .IP
.IP
If, after an If, after an
.BR execve (2), .BR execve (2),
the process modifies its environment the process modifies its environment
@ -6494,7 +6495,6 @@ the internal format, with subfields terminated by null bytes (\(aq\\0\(aq),
so you so you
may find that things are more readable if you use \fIod \-c\fP or \fItr may find that things are more readable if you use \fIod \-c\fP or \fItr
"\\000" "\\n"\fP to read them. "\\000" "\\n"\fP to read them.
Alternatively, \fIecho \`cat <file>\`\fP works well.
.PP .PP
This manual page is incomplete, possibly inaccurate, and is the kind This manual page is incomplete, possibly inaccurate, and is the kind
of thing that needs to be updated very often. of thing that needs to be updated very often.