civodul pushed a commit to branch master in repository guile. commit 5f22d1090bef72639f2744402c0466d8dbf8f8ac Author: Ludovic Courtès <l...@gnu.org> AuthorDate: Fri Jun 19 21:06:09 2020 +0200
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. --- module/ice-9/popen.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/ice-9/popen.scm b/module/ice-9/popen.scm index a0ef0dc..e638726 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)