GNU bug report logs -
#23500
Manual:4.3 Guile Scripting: Show to a layman that Guile can invoke shell commands, which are common in bash scripts.
Previous Next
Reported by: Evan Davis <erdavis7 <at> gmail.com>
Date: Mon, 9 May 2016 23:19:02 UTC
Severity: normal
Done: Andy Wingo <wingo <at> pobox.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23500 in the body.
You can then email your comments to 23500 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#23500
; Package
guile
.
(Mon, 09 May 2016 23:19:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Evan Davis <erdavis7 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Mon, 09 May 2016 23:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
In §4.3 (Guile Scripting) please mention §7.2.7 (Processes), or at
least the system/system* and open-pipe procedures. Maybe include an
example of a guile script invoking shell commands, as is common in
bash. As a layman, the manual's scripting section left me unsure
whether Guile could easily replace my typical bash scripts, and I
needed further help from Wingo on <irc://irc.freenode.net/guile>.
Reply sent
to
Andy Wingo <wingo <at> pobox.com>
:
You have taken responsibility.
(Tue, 28 Feb 2017 15:24:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Evan Davis <erdavis7 <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 28 Feb 2017 15:24:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 23500-done <at> debbugs.gnu.org (full text, mbox):
On Tue 10 May 2016 00:48, Evan Davis <erdavis7 <at> gmail.com> writes:
> In §4.3 (Guile Scripting) please mention §7.2.7 (Processes), or at
> least the system/system* and open-pipe procedures. Maybe include an
> example of a guile script invoking shell commands, as is common in
> bash. As a layman, the manual's scripting section left me unsure
> whether Guile could easily replace my typical bash scripts, and I
> needed further help from Wingo on <irc://irc.freenode.net/guile>.
Tx for the report. Added this text to the end of the section:
Finally, seasoned scripters are probably missing a mention of
subprocesses. In Bash, for example, most shell scripts run other
programs like @code{sed} or the like to do the actual work.
In Guile it's often possible get everything done within Guile itself, so
do give that a try first. But if you just need to run a program and
wait for it to finish, use @code{system*}. If you need to run a
sub-program and capture its output, or give it input, use
@code{open-pipe}. @xref{Processes}, and @xref{Pipes}, for more
information.
Andy
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 29 Mar 2017 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 141 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.