Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: shebang consistency
- X-seq: zsh-workers 24220
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: shebang consistency
- Date: Wed, 12 Dec 2007 23:38:06 -0500
- In-reply-to: <071212201339.ZM30779@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20071212233135.GA458@xxxxxxxxxxx> <071212201339.ZM30779@xxxxxxxxxxxxxxxxxxxxxx>
On Wed, Dec 12, 2007 at 08:13:39PM -0800, Bart Schaefer wrote:
> (Why doesn't s:^#!.*[^ /]zsh:#!/bin/zsh: do the trick? How much shorter
> do you need to get?)
Probably that out-of-place caret. I wasn't handling the env case,
(and I don't have env in /bin), so I was thinking it would be nice to just
have a single string to match.
> I guess I'd suggest standardizing on "#!/bin/zsh" plus options.
Works for me.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author