This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
simple question
- To: <guile at sourceware dot cygnus dot com>
- Subject: simple question
- From: Paul dot Emsley at chem dot gla dot ac dot uk
- Date: Tue, 4 Jul 2000 11:49:20 +0100
- Reply-to: Paul dot Emsley at chem dot gla dot ac dot uk
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.