[racket] Embedding multiline shell scipts

From: Jukka Tuominen (jukka.tuominen at finndesign.fi)
Date: Sun Feb 6 04:26:40 EST 2011

Hi all,

I'm trying to embed multiline shell scripts within a scheme function, but
I'm not quite sure how to do it.

With multiline shell scripts I mean the scripts that are usually saved as
separate files containing for example:


while home

I want to be able to construct the scripts within scheme (e.g. with
string-append), and I should be able to capture the output as with
system/output function. There should be no need for external files.

Any ideas how to accomplish this?

br, jukka

|  J U K K A   T U O M I N E N
|  m a n a g i n g   d i r e c t o r  M. A.
|  Finndesign  Kauppiaankatu 13, FI-00160 Helsinki, Finland
|  mobile +358 50 5666290
|  jukka.tuominen at finndesign.fi  www.finndesign.fi

Posted on the users mailing list.