mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 14:30:34 +02:00
Clarify open-input-pipe example in doc
This commit is contained in:
parent
ddcab06f20
commit
0fee413ff8
1 changed files with 1 additions and 1 deletions
|
@ -2322,7 +2322,7 @@ Equivalent to @code{open-pipe} with mode @code{OPEN_READ}.
|
||||||
|
|
||||||
@lisp
|
@lisp
|
||||||
(let* ((port (open-input-pipe "date --utc"))
|
(let* ((port (open-input-pipe "date --utc"))
|
||||||
(str (read-line port)))
|
(str (read-line port))) ; from (ice-9 rdelim)
|
||||||
(close-pipe port)
|
(close-pipe port)
|
||||||
str)
|
str)
|
||||||
@result{} "Mon Mar 11 20:10:44 UTC 2002"
|
@result{} "Mon Mar 11 20:10:44 UTC 2002"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue