This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

split vs. scsh



       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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]