[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: [Help-smalltalk] gst & scripting
From: |
Damien Pollet |
Subject: |
Fwd: [Help-smalltalk] gst & scripting |
Date: |
Tue, 9 Dec 2008 13:29:52 +0100 |
I just tested with #!/usr/bin/env gst and #!/opt/local/bin/gst
It works fine with both, except the latter is specific to my
installation (macports).
On Mon, Dec 8, 2008 at 18:58, Paolo Bonzini <address@hidden> wrote:
>
>> 1. Can gst be used in #! type scripts ? Based on what I recall from a
>> 3-4 years ago, it was possible to do so, but I am unable to find the
>> syntax that is correct for it.
>
> Yes, the suggested one is this:
>
> #! /bin/sh
> "exec" "gst" "-f" "$0" "$@"
>
> which finds gst in the path. The quotes make the shell command look
> like a comment to gst.
>
>> 2. Presuming the syntax is #!/usr/bin/gst, using smalltalk-mode.el to
>> work on a script, I run into the problem that after I type the "#",
>> pressing the "!" key will not print anything on the screen. Is there
>> something I am doing wrong ? Probably the assumption in #1 is incorrect ?
>
> It's a bug in smalltalk mode.
>
> Paolo
--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet