[gambit-list] Bashing in scheme?

David St-Hilaire sthilaid at iro.umontreal.ca
Wed Apr 23 11:26:05 EDT 2008


Hello all!

I'd like a little help with some bash style scripting that I would like to do in 
my gambit repl.

How can I do in scheme what I would do in bash like f1 < input-file | f2, where 
f1 and f2 are 2 scheme functions reading and writing to stdin and stdout 
respectively.

I know that the < input-file part is done with
(with-input-from-file input-file (lambda () f1)
put it is the pipe part that remains obscur to me...

Thanks!

David



More information about the Gambit-list mailing list