summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man5/proc.52
1 files changed, 1 insertions, 1 deletions
diff --git a/man5/proc.5 b/man5/proc.5
index b7cda376..725873eb 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -182,7 +182,7 @@ Thus, to print out the environment of process 1, you would do:
.nf
.ft CW
-.RB "$" " (cat /proc/1/environ; echo) | tr \(aq\e000\(aq \(aq\en\(aq"
+.RB "$" " strings /proc/1/environ"
.fi
.ft P
.in