summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-06-19 21:06:09 +0200
committerLudovic Courtès <ludo@gnu.org>2020-06-19 21:06:09 +0200
commit5f22d1090bef72639f2744402c0466d8dbf8f8ac (patch)
treeccfb60b40ce324b1d11cf558dba901c6e07ebf5c
parentc7f76d94dabb589601e809710de5fcc9c4c9a882 (diff)
downloadguile-5f22d1090bef72639f2744402c0466d8dbf8f8ac.tar.gz
popen: Correct 'pipeline' docstring.
* module/ice-9/popen.scm (pipeline): Change docstring for correct Texinfo syntax and to use commas instead of em dashes, as in the manual.
-rw-r--r--module/ice-9/popen.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/ice-9/popen.scm b/module/ice-9/popen.scm
index a0ef0dc71..e638726a4 100644
--- a/module/ice-9/popen.scm
+++ b/module/ice-9/popen.scm
@@ -215,10 +215,10 @@ information on how to interpret this value."
(open-pipe command OPEN_BOTH))
(define (pipeline commands)
- "Execute a pipeline of @var(commands) -- where each command is a list of a
-program and its arguments as strings -- returning an input port to the
+ "Execute a pipeline of @var{commands}, where each command is a list of a
+program and its arguments as strings, returning an input port to the
end of the pipeline, an output port to the beginning of the pipeline and
-a list of PIDs of the processes executing the @var(commands)."
+a list of PIDs of the processes executing the @var{commands}."
(let* ((to (pipe->fdes))
(pipes (map (lambda _ (pipe->fdes)) commands))
(pipeline (fold (lambda (from proc prev)