Re: A better way to run shell cmd?

2012-06-13 Thread Daniel Hartwig
On 13 June 2012 14:55, Nala Ginrut wrote: > hi folks! I'm on my trip and inconvenient to meet you guys on IRC. > Things gonna be normal next month. > > Anyway, there's a problem for you. > I'm trying to write a simple wrapper for "sed" with our popen module: > --code > (use

Re: A better way to run shell cmd?

2012-06-13 Thread Nala Ginrut
hi Daniel, thanks for reply! I tried guile-lib just now, it's nice. I'll use it. Besides, do you think pipe is the proper way to implement "sed" function? Or it's better to implement a module with pure Guile? On Wed, Jun 13, 2012 at 3:19 PM, Daniel Hartwig wrote: > On 13 June 2012 14:55, Nala Gi

Re: features.h in wip-rtl

2012-06-13 Thread Andy Wingo
On Wed 13 Jun 2012 05:39, Noah Lavine writes: > I've hit a problem building a recent wip-rtl. It now includes the file > libguile/elf.h, which does "#include ". I'm building Guile > on Mac OS X, and I think that doesn't have features.h, so the build > breaks. However, I don't see any uses of feat

Re: A better way to run shell cmd?

2012-06-13 Thread gregory benison
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 sta