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]

simple question



       Hi,

       Another simple question:  

       Why is this happening (and is there anyway of stopping it).

eriskay ~/cgi> ./simple.scm
Hello ~a~%eriskay ~/cgi> 
eriskay ~/cgi> guile -s !$
guile -s ./simple.scm
Hello ~a~%eriskay ~/cgi> 
eriskay ~/cgi> guile
guile> (load "simple.scm")
Hello bill
guile> eriskay ~/cgi> 

       Where simple.scm is 

#!/usr/local/bin/guile \
-s
!#
(use-modules (ice-9 slib))
(require 'format)
(format #t "Hello ~a~%" "bill")

	I mean that the format expansion only works in "interactive"
      mode.  Can I have it working in script mode (or whatever it's
      called) too? 

      Thanks,

      Paul.


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