From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13182 invoked from network); 28 May 2006 18:32:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.2 (2006-05-25) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.2 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 28 May 2006 18:32:20 -0000 Received: (qmail 23766 invoked from network); 28 May 2006 18:32:12 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 May 2006 18:32:12 -0000 Received: (qmail 24270 invoked by alias); 28 May 2006 18:32:05 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10328 Received: (qmail 24260 invoked from network); 28 May 2006 18:32:04 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 28 May 2006 18:32:04 -0000 Received: (qmail 22624 invoked from network); 28 May 2006 18:32:04 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 28 May 2006 18:32:04 -0000 Received: from torch.brasslantern.com ([71.116.105.50]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IZZ00DWMNHDWZY2@vms040.mailsrvcs.net> for zsh-users@sunsite.dk; Sun, 28 May 2006 13:32:02 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k4SIW0aU031857 for ; Sun, 28 May 2006 11:32:01 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k4SIW0JM031856 for zsh-users@sunsite.dk; Sun, 28 May 2006 11:32:00 -0700 Date: Sun, 28 May 2006 11:32:00 -0700 From: Bart Schaefer Subject: Re: Vanishing files ? In-reply-to: <20060528.172405.74744323.Meino.Cramer@gmx.de> To: zsh-users@sunsite.dk Message-id: <060528113200.ZM31855@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20060528.172405.74744323.Meino.Cramer@gmx.de> Comments: In reply to Meino Christian Cramer "Vanishing files ?" (May 28, 5:24pm) On May 28, 5:24pm, Meino Christian Cramer wrote: } } Why can I execute the contents of the script "tempwatch" but not the } script itsself? That usually means that the program named in the #! line is not where the path in that line says it is. Have you checked that you're not, for example, attempting to execute a program named "/bin/zsh^M" (where ^M is a carriage return)? Or some other stray character you can't see at the end of the line? I assume zsh really is in /bin/. } By the way: Does anyone know a trick how to remove _all_ } Escape-Sequences from a script generated by the command "script" ... sed "s/[^"$'\t '"-~]//g" The order of tab and space in $'\t ' is important. The above actually strips anything that's not printable ASCII, so if you're using an ISO character set you probably need to put more stuff inside the [ ].