emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#23500: closed (Manual:4.3 Guile Scripting: Show to


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#23500: closed (Manual:4.3 Guile Scripting: Show to a layman that Guile can invoke shell commands, which are common in bash scripts.)
Date: Tue, 28 Feb 2017 15:24:01 +0000

Your message dated Tue, 28 Feb 2017 16:23:45 +0100
with message-id <address@hidden>
and subject line Re: bug#23500: Manual:4.3 Guile Scripting: Show to a layman 
that Guile can invoke shell commands, which are common in bash scripts.
has caused the debbugs.gnu.org bug report #23500,
regarding Manual:4.3 Guile Scripting: Show to a layman that Guile can invoke 
shell commands, which are common in bash scripts.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
23500: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23500
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Manual:4.3 Guile Scripting: Show to a layman that Guile can invoke shell commands, which are common in bash scripts. Date: Mon, 9 May 2016 18:48:26 -0400
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>.



--- End Message ---
--- Begin Message --- Subject: Re: bug#23500: Manual:4.3 Guile Scripting: Show to a layman that Guile can invoke shell commands, which are common in bash scripts. Date: Tue, 28 Feb 2017 16:23:45 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
On Tue 10 May 2016 00:48, Evan Davis <address@hidden> 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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]