From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 19:18:03 2016 Received: (at submit) by debbugs.gnu.org; 9 May 2016 23:18:03 +0000 Received: from localhost ([127.0.0.1]:44876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azuR8-0002d6-QG for submit@debbugs.gnu.org; Mon, 09 May 2016 19:18:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aztyi-0001wP-GG for submit@debbugs.gnu.org; Mon, 09 May 2016 18:48:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aztyb-00087N-FI for submit@debbugs.gnu.org; Mon, 09 May 2016 18:48:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aztyb-00086m-CL for submit@debbugs.gnu.org; Mon, 09 May 2016 18:48:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aztyY-00066u-Ky for bug-guile@gnu.org; Mon, 09 May 2016 18:48:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aztyW-00084L-2p for bug-guile@gnu.org; Mon, 09 May 2016 18:48:29 -0400 Received: from mail-ig0-x22f.google.com ([2607:f8b0:4001:c05::22f]:35763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aztyV-00083y-U0 for bug-guile@gnu.org; Mon, 09 May 2016 18:48:27 -0400 Received: by mail-ig0-x22f.google.com with SMTP id bi2so118132765igb.0 for ; Mon, 09 May 2016 15:48:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to :content-transfer-encoding; bh=dALg8vlUMSjXimbMcKsW1MFifs9YuXRnMEobhpAnUAc=; b=aBqRiSDWWb+D1RQVS5fRsOEp8vWdi1o9E+L99CSpMz06ZbDnz2sVyJ/xFN3yqLbsAf uWIofVpBlt7mvIGdtInaxnZckWajTiZvsnFCkRswSBfgiHe4SM9HhAwg2SNbZ7B/z3cF f3d05/mvQvxVIL92VMa3tOlfStQxCcjK5kttKi7G0aP1UpLxzVbJswWKXJSu8A3JhyqK e3Ci9u/N0dJfZL4Dz6fwIRIACTkwl+vV2TG2tFkCet4HWZWLJawG/NzRZUtU9htVFZYf NCqEq3Y0gPIpGzDZcYbN/qIV+FcbFj/ETqdbwGiHI54kEK4jpGiMLx3kmgegxtT7LANx IPmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-transfer-encoding; bh=dALg8vlUMSjXimbMcKsW1MFifs9YuXRnMEobhpAnUAc=; b=h71w4cpcJlyIsVKUz4BBAq8eN1/72AZDPzZ/tcd/m7zEsXn+Sr9N6b3ZxyFKJB5JI1 G+hnMHfHSSeO0nJa8dwQao6w2R1d+hP15PHw9NR5ZlncqXBokfe3Go8vpZZcKi1+N6VV wWhWD+SF4FcaaLEDfd76Ipa725S21lBWaWyMjieP3XX9u1PJJRDlt8DtmWxiBOp8g6/Q SloLkwLMs6613j/EOFtfNwitYU8GdEoxI/tIGyks4jXOM8LM6P9k2bcqbJpePrdDzNhB FFJWtXSxX5B8KaIEa0bg84BvVCEd1AobZ40aJKY7SNdFgROGK4XK5GL5LFfrNwaWtdug KmMg== X-Gm-Message-State: AOPr4FUPhRnjWqru8nLgmuf4Jd7HhTvXoBJx4/3EN6peuSbIiiqJoy2tsSDEeKIWyyxhPrCxbszhCR85nWUINg== MIME-Version: 1.0 X-Received: by 10.50.111.72 with SMTP id ig8mr13989382igb.35.1462834106964; Mon, 09 May 2016 15:48:26 -0700 (PDT) Received: by 10.107.179.5 with HTTP; Mon, 9 May 2016 15:48:26 -0700 (PDT) Date: Mon, 9 May 2016 18:48:26 -0400 Message-ID: Subject: Manual:4.3 Guile Scripting: Show to a layman that Guile can invoke shell commands, which are common in bash scripts. From: Evan Davis To: bug-guile@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 09 May 2016 19:18:01 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) In =C2=A74.3 (Guile Scripting) please mention =C2=A77.2.7 (Processes), or a= t 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 . From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 28 10:23:56 2017 Received: (at 23500-done) by debbugs.gnu.org; 28 Feb 2017 15:23:56 +0000 Received: from localhost ([127.0.0.1]:60416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cijd6-0001Tr-00 for submit@debbugs.gnu.org; Tue, 28 Feb 2017 10:23:56 -0500 Received: from pb-sasl2.pobox.com ([64.147.108.67]:61620 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cijd4-0001Tj-Dx for 23500-done@debbugs.gnu.org; Tue, 28 Feb 2017 10:23:54 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id E5D7E5F597; Tue, 28 Feb 2017 10:23:53 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=Fu5MK2NN/MxP 5Im2oEO1jOAUPLA=; b=S2ImxVF5QN+c+zhW9liNQzS86Y34oe5n4pdILFGRIdge 3w6WbaUy1kF/XqOofLuNLITdWZsnulRXEfKTBTAHBlNRPbN9Hlv7mx1IYuRugUTY JL6RhnrJkYTIydbyU4xvwfL0gu9NcG49+Nmy0xeXnd29L16BelRCVp5vk0Z7VRc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=XrWPyJ eQ8mYF8UZpr3iYtV9D7wk+oJjCu3CDFEFK7noQfgr2zHaJ4dBeH+CZfO8eN4OiEF Fe0LTIM6ntncodMdlDFKD716CgKYa0pOKRro4DV47GvKxE8VDlF8YzyqnfJPxK/A cUosvC+8YJGe5iZaES/yIoUmpovRaWDpkmBOI= Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id DDC275F596; Tue, 28 Feb 2017 10:23:53 -0500 (EST) Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id 007E85F595; Tue, 28 Feb 2017 10:23:52 -0500 (EST) From: Andy Wingo To: Evan Davis 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. References: Date: Tue, 28 Feb 2017 16:23:45 +0100 In-Reply-To: (Evan Davis's message of "Mon, 9 May 2016 18:48:26 -0400") Message-ID: <87h93el4ou.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: E9B90A7A-FDC9-11E6-BBF9-6141F2301B6D-02397024!pb-sasl2.pobox.com X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 23500-done Cc: 23500-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Tue 10 May 2016 00:48, Evan Davis writes: > In =C2=A74.3 (Guile Scripting) please mention =C2=A77.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 . 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 From unknown Sat Aug 16 12:45:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 29 Mar 2017 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator