From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10665 invoked from network); 17 Feb 2008 16:25:01 -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.5 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; 17 Feb 2008 16:25:01 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 51793 invoked from network); 17 Feb 2008 16:24:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Feb 2008 16:24:53 -0000 Received: (qmail 3683 invoked by alias); 17 Feb 2008 16:24:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24563 Received: (qmail 3666 invoked from network); 17 Feb 2008 16:24:49 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 17 Feb 2008 16:24:49 -0000 Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by bifrost.dotsrc.org (Postfix) with ESMTP id D95E08026E0B for ; Sun, 17 Feb 2008 17:24:45 +0100 (CET) Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20080217162642.PJRF27871.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com> for ; Sun, 17 Feb 2008 16:26:42 +0000 Received: from pws-pc ([81.107.42.63]) by aamtaout04-winn.ispmail.ntl.com with ESMTP id <20080217162448.UAR29112.aamtaout04-winn.ispmail.ntl.com@pws-pc> for ; Sun, 17 Feb 2008 16:24:48 +0000 Date: Sun, 17 Feb 2008 16:23:13 +0000 From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: Shebang diff Message-ID: <20080217162313.5c274cb8@pws-pc> In-Reply-To: <080216113822.ZM17179@torch.brasslantern.com> References: <080216113822.ZM17179@torch.brasslantern.com> X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.0 c=1 a=Rw7lO6RaNG4A:15 a=3FTp5y5X6ml6ZCsPBftHHg==:17 a=NLZqzBF-AAAA:8 a=v5rNdunzzK1uEIbbdlEA:9 a=aIk92-WUU7jzKuu4Rb9BQCHoUyQA:4 a=I6wTmPyJxzYA:10 a=MlPZ8bZMJJ0A:10 a=_dQi-Dcv4p4A:10 a=LY0hPdMaydYA:10 X-Virus-Scanned: ClamAV 0.91.2/5847/Sun Feb 17 12:26:12 2008 on bifrost X-Virus-Status: Clean On Sat, 16 Feb 2008 11:38:22 -0800 Bart Schaefer wrote: > I just spotted this ChangeLog entry: > > +2008-02-07 Clint Adams > + > + * unposted: Functions/Misc/run-help-git, > + Functions/Calendar/calendar_add, Functions/Misc/sticky-note: remove > + shebang line. > > Functions/Misc/sticky-note is explicitly designed to be runnable as a > standalone script. Removing the #! line was IMO wrong. Actually, the same is true of calendar_add: it's most useful when executed from an external programme that's managing called as a backend to processing calendars in mail. However, Clint's point, which is reasonable, was that the files in question are being installed into the function area, not into the path. 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. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/