From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122 invoked from network); 18 Feb 2008 01:50:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) 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.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Feb 2008 01:50:18 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 12492 invoked from network); 18 Feb 2008 01:50:15 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Feb 2008 01:50:15 -0000 Received: (qmail 7752 invoked by alias); 18 Feb 2008 01:50:13 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24567 Received: (qmail 7739 invoked from network); 18 Feb 2008 01:50:12 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 18 Feb 2008 01:50:12 -0000 Received: from vms173001pub.verizon.net (vms173001pub.verizon.net [206.46.173.1]) by bifrost.dotsrc.org (Postfix) with ESMTP id 57A6D8026E0B for ; Mon, 18 Feb 2008 02:50:08 +0100 (CET) Received: from torch.brasslantern.com ([71.121.18.67]) by vms173001.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JWE0011FV7T0WFB@vms173001.mailsrvcs.net> for zsh-workers@sunsite.dk; Sun, 17 Feb 2008 19:38:18 -0600 (CST) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id m1I1o652010160 for ; Sun, 17 Feb 2008 17:50:07 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id m1I1o5OI010159 for zsh-workers@sunsite.dk; Sun, 17 Feb 2008 17:50:05 -0800 Date: Sun, 17 Feb 2008 17:50:05 -0800 From: Bart Schaefer Subject: Re: Shebang diff In-reply-to: <20080217162313.5c274cb8@pws-pc> To: zsh-workers@sunsite.dk Message-id: <080217175005.ZM10158@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <080216113822.ZM17179@torch.brasslantern.com> <20080217162313.5c274cb8@pws-pc> Comments: In reply to Peter Stephenson "Re: Shebang diff" (Feb 17, 4:23pm) X-Virus-Scanned: ClamAV 0.91.2/5855/Sun Feb 17 23:36:38 2008 on bifrost X-Virus-Status: Clean On Feb 17, 4:23pm, Peter Stephenson wrote: } Subject: Re: Shebang diff } } On Sat, 16 Feb 2008 11:38:22 -0800 } Bart Schaefer wrote: } > Functions/Misc/sticky-note is explicitly designed to be runnable as a } > standalone script. Removing the #! line was IMO wrong. } } If we wanted to make proper arrangements for them to be called } directly, we should both install them into the path and make them } executable at that point, rather than rely on them being executable } from where they are. So I think rather than changing the permissions } again, if we're interested in doing something more with ambivalent } scripts/functions it would be better to provide some utility to fix } things. I'm not concerned with the file permissions; I don't care whether or not they have the execute bit set. I just don't want the #! removed. Running chmod to "install" the script is one thing, but having to edit the file is another entirely.