From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2273 invoked from network); 13 Dec 2007 22:12:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Dec 2007 22:12:53 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 22617 invoked from network); 13 Dec 2007 22:12:23 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Dec 2007 22:12:23 -0000 Received: (qmail 26272 invoked by alias); 13 Dec 2007 22:12:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24242 Received: (qmail 26238 invoked from network); 13 Dec 2007 22:12:18 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 13 Dec 2007 22:12:18 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id D7E9C8058F55 for ; Thu, 13 Dec 2007 23:09:32 +0100 (CET) Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Thu, 13 Dec 2007 23:09:32 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id AEEA55CE8B; Thu, 13 Dec 2007 17:12:13 -0500 (EST) Date: Thu, 13 Dec 2007 17:12:13 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Subject: Re: shebang consistency Message-ID: <20071213221213.GA4395@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk References: <20071212233135.GA458@scowler.net> <071212201339.ZM30779@torch.brasslantern.com> <20071213043806.GA12881@scowler.net> <20071213211213.ed833fc7.p.w.stephenson@ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071213211213.ed833fc7.p.w.stephenson@ntlworld.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV using ClamSMTP On Thu, Dec 13, 2007 at 09:12:13PM +0000, Peter Stephenson wrote: > Go ahead if you like, with or without the space. Index: Functions/Calendar/calendar_add =================================================================== RCS file: /cvsroot/zsh/zsh/Functions/Calendar/calendar_add,v retrieving revision 1.5 diff -u -r1.5 calendar_add --- Functions/Calendar/calendar_add 29 Nov 2007 09:49:43 -0000 1.5 +++ Functions/Calendar/calendar_add 13 Dec 2007 22:08:17 -0000 @@ -1,4 +1,4 @@ -#!/bin/env zsh +#!/bin/zsh # All arguments are joined with spaces and inserted into the calendar # file at the appropriate point. Index: Functions/Example/cat =================================================================== RCS file: /cvsroot/zsh/zsh/Functions/Example/cat,v retrieving revision 1.1 diff -u -r1.1 cat --- Functions/Example/cat 2 Apr 2001 12:24:08 -0000 1.1 +++ Functions/Example/cat 13 Dec 2007 22:08:17 -0000 @@ -1,4 +1,4 @@ -#! /usr/local/bin/zsh -f +#!/bin/zsh -f local file Index: Functions/Example/zless =================================================================== RCS file: /cvsroot/zsh/zsh/Functions/Example/zless,v retrieving revision 1.1 diff -u -r1.1 zless --- Functions/Example/zless 2 Apr 2001 12:28:48 -0000 1.1 +++ Functions/Example/zless 13 Dec 2007 22:08:17 -0000 @@ -1,4 +1,4 @@ -#!/usr/bin/zsh -f +#!/bin/zsh -f # # zsh function script to run less on various inputs, decompressing as required. # Author: Phil Pennock. zsh-hacks@athenaeum.demon.co.uk Index: Functions/Misc/checkmail =================================================================== RCS file: /cvsroot/zsh/zsh/Functions/Misc/checkmail,v retrieving revision 1.5 diff -u -r1.5 checkmail --- Functions/Misc/checkmail 15 Sep 2006 18:22:19 -0000 1.5 +++ Functions/Misc/checkmail 13 Dec 2007 22:08:17 -0000 @@ -1,4 +1,4 @@ -#! /usr/local/bin/zsh +#!/bin/zsh # # This autoloadable function checks the folders specified as arguments # for new mails. The arguments are interpreted in exactly the same way Index: Functions/Misc/run-help =================================================================== RCS file: /cvsroot/zsh/zsh/Functions/Misc/run-help,v retrieving revision 1.6 diff -u -r1.6 run-help --- Functions/Misc/run-help 15 Oct 2006 17:30:13 -0000 1.6 +++ Functions/Misc/run-help 13 Dec 2007 22:08:17 -0000 @@ -1,4 +1,4 @@ -#!/usr/local/bin/zsh +#!/bin/zsh # # Figure out where to get the best help, and get it. # Index: Functions/Misc/zcalc =================================================================== RCS file: /cvsroot/zsh/zsh/Functions/Misc/zcalc,v retrieving revision 1.14 diff -u -r1.14 zcalc --- Functions/Misc/zcalc 19 Apr 2006 16:09:07 -0000 1.14 +++ Functions/Misc/zcalc 13 Dec 2007 22:08:17 -0000 @@ -1,4 +1,4 @@ -#!/usr/local/bin/zsh -i +#!/bin/zsh -i # # Zsh calculator. Understands most ordinary arithmetic expressions. # Line editing and history are available. A blank line or `q' quits. Index: Functions/Misc/zkbd =================================================================== RCS file: /cvsroot/zsh/zsh/Functions/Misc/zkbd,v retrieving revision 1.4 diff -u -r1.4 zkbd --- Functions/Misc/zkbd 26 Feb 2007 07:44:10 -0000 1.4 +++ Functions/Misc/zkbd 13 Dec 2007 22:08:18 -0000 @@ -1,4 +1,4 @@ -#! /bin/zsh -f +#!/bin/zsh -f [[ -o interactive ]] && { local -i ARGC