This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
split vs. scsh
- To: Guile Mailing List <guile at sourceware dot cygnus dot com>
- Subject: split vs. scsh
- From: Paul dot Emsley at chem dot gla dot ac dot uk
- Date: Thu, 29 Jun 2000 13:52:51 +0100
- Reply-to: Paul dot Emsley at chem dot gla dot ac dot uk
Hello,
I was trying out Steve Tell's split and encountered
strangeness.
(load-from-path "scsh/init")
(load "join.scm")
(define ref-list (list "Hello" "there" "guile"))
(define str "Hello there guile")
(let ((ls (split " " str)))
(for-each
(lambda (reference-word split-word)
(display reference-word)
(display " vs. ")
(run (echo ,split-word)))
ref-list ls))
Produces the following output:
Hello vs. Hello @-scsé
there vs. there @
;Ù
guile vs. guile
Suspicious minds might point fingers at something in scsh, but
beyond that, I cannot divine.
Help?
(thanks)
Paul.