From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gregory benison Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: A better way to run shell cmd? Date: Wed, 13 Jun 2012 18:57:13 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1339639048 11578 80.91.229.3 (14 Jun 2012 01:57:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2012 01:57:28 +0000 (UTC) Cc: Guile User , guile-devel To: Nala Ginrut Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jun 14 03:57:27 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SezJK-0000gv-Vp for guile-user@m.gmane.org; Thu, 14 Jun 2012 03:57:23 +0200 Original-Received: from localhost ([::1]:59402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SezJK-0002yH-UK for guile-user@m.gmane.org; Wed, 13 Jun 2012 21:57:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SezJG-0002xt-LF for guile-user@gnu.org; Wed, 13 Jun 2012 21:57:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SezJF-0005S3-04 for guile-user@gnu.org; Wed, 13 Jun 2012 21:57:18 -0400 Original-Received: from mail-wg0-f41.google.com ([74.125.82.41]:62344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SezJE-0005OI-Nt; Wed, 13 Jun 2012 21:57:16 -0400 Original-Received: by wgbds1 with SMTP id ds1so5721940wgb.0 for ; Wed, 13 Jun 2012 18:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Lq868Sdy65fO6Ri/IFAIA+DorVNnFVLHQllHJpxekow=; b=tTkQTuX0SSQReAXLXDB+6JK/FyA4HZ75du59/c3U+fvORyYMuPR1NbrqvUhEeAilDS JGXFfidLEGlZp7IJC/bCL6wVa/akl0eOX4DhLaAzkj4zlK+6cGzeTtl52s0XJY/mSb3A 9gwSSQrzKzNde6qNJXr7Tfzh2vhjCdRicY2RWVwn4z3ArEvRcoSm01nw7yWZTNiBeasS 9UZ+gtPnY8DbT9UgIa55QxD6z/oHOf2BkCPW1ERdNybm1KAuP484p3EgEleM2VrjvnPg 5wWfrSwFcMqXFrZD3uvY++Bz1rPDp0Aj1BuGmcXwhzyvuRTxy3rmmDB67HWbbivU7th9 6Mqg== Original-Received: by 10.180.78.161 with SMTP id c1mr1577126wix.1.1339639033328; Wed, 13 Jun 2012 18:57:13 -0700 (PDT) Original-Received: by 10.216.26.19 with HTTP; Wed, 13 Jun 2012 18:57:13 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.41 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9503 gmane.lisp.guile.devel:14618 Archived-At: On Tue, Jun 12, 2012 at 11:55 PM, Nala Ginrut wrote: > > Anyway, there's a problem for you. > I'm trying to write a simple wrapper for "sed" with our popen module: This is exactly the kind of thing SCSH does well: 1> (run/string (sed s:a:b:g)(<< "banana")) "bbnbnb" Nevertheless the current state of guile's scsh implementation is, according to the manual, "bitrotten" -- Greg Benison [blog] http://gcbenison.wordpress.com [twitter] @gcbenison