>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Does this not mean that you're using /bin/echo rather than the
Angus> echo built into bash?

I should not. Here is what I believe to be the relevant code in
gnuplot 3.7.1 (in command.c):

static void do_shell()
{
    static char exec[100] = EXEC;
    register char *shell;
    if (!(shell = getenv("SHELL")))
        shell = SHELL;

    if (system(safe_strncpy(&exec[sizeof(EXEC) - 1], shell,
                       sizeof(exec) - sizeof(EXEC) - 1)))
        os_error("system() failed", NO_CARET);

    (void) putc('\n', stderr);
}

I do not see why setting SHELL to some bogus value does not work as
expected. 

JMarc

Reply via email to