Re: #! -- reconsideration?
- To: Ted Baker <baker@dad.cs.fsu.edu>
- Cc: quinlan@transmeta.com, seeger@cise.ufl.edu, Cragun@cise.ufl.edu, Don.Cragun@Eng.Sun.COM, Don@cise.ufl.edu, austin-group@opengroup.org, dank@alumni.caltech.edu, loewis@informatik.hu-berlin.de, lsb-discuss@lists.linuxbase.org, mats@laplaza.org, mcinquini@speedera.com, schilling@fokus.gmd.de
- Subject: Re: #! -- reconsideration?
- From: Stephen Schwarm <sschwarm@emc.com>
- Date: Wed, 10 May 2000 15:48:05 -0400
- Message-id: <[🔎] 3919BCF5.8C5201C3@emc.com>
- References: <[🔎] 200005101203.IAA18835@dad.cs.fsu.edu>
How about:
#!posix_shell
That way one could still pass arguments so if one wanted an interpreter
use:
#!posix_shell -c tcl
and the "correct" path would be used to find tcl
Steve
Ted Baker wrote:
>
> I've seen good reasons quoted against all proposed solutions, but
> the problem remains that to write portable application software
> systems using shell scripts a person needs a portable way to
> invoke the portable (i.e., POSIX) shell.
>
> I realize there is principled opposition to inventing new
> solutions, if agreement cannot be reached on standardizing one of
> the existing practices, perhaps a new solution should be
> considered.
>
> For example, how about extending the syntax of the first line
> to something that is distinct from existing practices, e.g.,
>
> #!posix shell
>
> Or, pick something else, like your favorit cartoon expletive
> #*?&!#@*#!.
>
> Only new applications would benefit, but it would not break
> existing applications.
>
> --Ted
Reply to: