[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CGI scripting with Guile
From: |
Sebastian Tennant |
Subject: |
Re: CGI scripting with Guile |
Date: |
Tue, 18 Mar 2008 22:19:27 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Quoth Thien-Thi Nguyen <address@hidden>:
> () Sebastian Tennant <address@hidden>
> () Sun, 16 Mar 2008 14:56:20 +0200
>
> This is incredibly useful. Thank you for pointing it out.
>
> You're welcome. If you find any bugs in it, i'm all ears...
I'll do my best... :-)
> Just out of curiostiy, why the '.in' file extension?
> Is it to do with make?
>
> It's customary for autoconf-substituted files (see configure.in)
> to use the .in extension. Running the configure script produces
> id.cgi from id.cgi.in, with the @var@ sequences expanded.
Noted. Thanks for the explanation.
> > #!/bin/sh
> > exec @GUILE@ -s $0 "$@" # -*- scheme -*-
> > !#
>
> Also, why the shell?
>
> This preamble can accomodate Guile installed in different places.
> For example, in my case, @GUILE@ becomes /home/ttn/local/bin/guile,
> but for you it would most likely be different. You should be able
> to safely replace it w/ the preamble used in your test script.
Hmm, OK. Again, just out of interest, why doesn't a simple
address@hidden@ -s
!#
suffice?
Thanks again thi.
Sebastian
Re: CGI scripting with Guile, Sebastian Tennant, 2008/03/15