bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash problem with #!


From: Dave Yost
Subject: bash problem with #!
Date: Tue, 26 Jul 2005 08:53:23 -0700

Please see
http://Yost.com/computers/compileAndGo

That page describes a #!/bin/bash script called compileAndGo, which is used as the program for a #! script.

In other words, a program starting with

  #!/usr/local/bin/compileAndGo

should invoke /usr/local/bin/compileAndGo, and compileAndGo is a program starting with

  #!/bin/bash

Invoking a compileAndGo script works correctly in zsh, but not in bash, sh, ksh, csh, or tcsh.

(Is this the first time anyone has used a shell script as a #! program?)

Thanks

Dave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]