scsh-users
[Top] [All Lists]

[scsh] GUILE shell features

To: wilson@cs.utexas.edu (Paul Wilson)
Subject: [scsh] GUILE shell features
From: cracauer@wavehh.hanse.de (Martin Cracauer)
Date: Thu, 9 Nov 1995 14:33:36 +0100 (MET)
Cc: scsh@martigny.ai.mit.edu
Reply-to: cracauer@wavehh.hanse.de
I don't know whether this has been seen on this list, so I'm
forwarding it.

 
> In article <199511061847.KAA01389@beehive.cygnus.com>,
> Tom Lord <lord@cygnus.com> wrote:
> >
> >People are already working on not-quite-compatible shell features for
> >Guile.   I don't agree that this will limit SCSH's audience, but it 
> >could turn out to frustrate programmers endlessly

Paul Wilson wrote:
 
> Could you elaborate on this?  How not-quite-compatible is it, and why?
> 
> It does sound like it could be endlessly frustrating.  Advance warning
> of Guile's directions might help others avoid gratuitous incompatibilities,
> even if they can't convince the Guile project to do anything differently.

Part of forwarded message from gel-list:
----------------------------------------
^From: Gary Houston <ghouston@actrix.gen.nz>


| >- I'm sure the guile people will implement something like scsh
| >  sooner or later, limiting scsh's audience further.

Actually the underlying functionality is more or less there already:

    gunzip < paper.tex.gz | detex | spell | lpr -Ppulp &

would be written in scsh as

    (& (| (gunzip) (detex) (spell) (lpr -Ppulp))        ; Background a pipeline
       (< paper.tex.gz))                                ; with this redirection

can be written with guile-iii/goonix-iii-c as

(with-input-from-file "paper.tex.gz"
  (lambda ()
    (run-concurrently+
     (tail-call-pipeline ("gunzip") ("detex") ("spell") ("lpr" "-Ppulp")))))

<Prev in Thread] Current Thread [Next in Thread>