From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12955 invoked from network); 22 Feb 2008 04:01:48 -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; 22 Feb 2008 04:01:48 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 19378 invoked from network); 22 Feb 2008 04:01:41 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Feb 2008 04:01:41 -0000 Received: (qmail 23717 invoked by alias); 22 Feb 2008 04:01:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24579 Received: (qmail 23699 invoked from network); 22 Feb 2008 04:01:38 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Feb 2008 04:01:38 -0000 Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by bifrost.dotsrc.org (Postfix) with ESMTP id DBF698026E0B for ; Fri, 22 Feb 2008 05:01:34 +0100 (CET) Received: from torch.brasslantern.com ([71.121.18.67]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JWM00H9DGI35CG1@vms048.mailsrvcs.net> for zsh-workers@sunsite.dk; Thu, 21 Feb 2008 22:01:16 -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 m1M41Exa025418 for ; Thu, 21 Feb 2008 20:01:14 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id m1M41D6T025417 for zsh-workers@sunsite.dk; Thu, 21 Feb 2008 20:01:13 -0800 Date: Thu, 21 Feb 2008 20:01:13 -0800 From: Bart Schaefer Subject: Re: Shebang diff In-reply-to: <20080222025459.GB4595@scowler.net> To: zsh-workers@sunsite.dk Message-id: <080221200113.ZM25416@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> <080217175005.ZM10158@torch.brasslantern.com> <20080222025459.GB4595@scowler.net> Comments: In reply to Clint Adams "Re: Shebang diff" (Feb 21, 9:54pm) X-Virus-Scanned: ClamAV 0.91.2/5924/Fri Feb 22 04:27:11 2008 on bifrost X-Virus-Status: Clean On Feb 21, 9:54pm, Clint Adams wrote: } Subject: Re: Shebang diff } } On Sun, Feb 17, 2008 at 05:50:05PM -0800, Bart Schaefer wrote: } > 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. } } You're invoking $fndir/Misc/sticky-note with a full pathname? No ... my point was that cp $^fpath/sticky-note(N) ~/bin chmod +x ~/bin/sticky-note is a lot less of a PITA than cp $^fpath/sticky-note(N) ~/bin vi ~/bin/sticky-note O#!/bin/zsh -fiESC:wq chmod +x ~/bin/sticky-note especially given that it's non-obvious that "-fi" is necessary in order for it to work correctly. It's entirely possible that there's a better place than Functions/Misc/ to put scripts like this, but that place doesn't exist yet in the tree.