From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9825 invoked from network); 29 May 2006 02:38:55 -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; 29 May 2006 02:38:55 -0000 Received: (qmail 91521 invoked from network); 29 May 2006 02:38:45 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 May 2006 02:38:45 -0000 Received: (qmail 3384 invoked by alias); 29 May 2006 02:38:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10337 Received: (qmail 3374 invoked from network); 29 May 2006 02:38:38 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 29 May 2006 02:38:38 -0000 Received: (qmail 90457 invoked from network); 29 May 2006 02:38:38 -0000 Received: from p54852c97.dip0.t-ipconnect.de (HELO localhost) (84.133.44.151) by a.mx.sunsite.dk with SMTP; 29 May 2006 02:38:37 -0000 Received: from localhost ([127.0.0.1]) by localhost with esmtp (Exim 4.60) (envelope-from ) id 1FkXeM-0005Rg-Dk; Mon, 29 May 2006 04:38:35 +0200 Date: Mon, 29 May 2006 04:38:34 +0200 (CEST) Message-Id: <20060529.043834.41189780.Meino.Cramer@gmx.de> To: schaefer@brasslantern.com Cc: zsh-users@sunsite.dk Subject: Re: Vanishing files ? From: Meino Christian Cramer In-Reply-To: <060528162431.ZM32110@torch.brasslantern.com> References: <060528113200.ZM31855@torch.brasslantern.com> <20060528.203857.71096165.Meino.Cramer@gmx.de> <060528162431.ZM32110@torch.brasslantern.com> X-Mailer: Mew version 4.2.53 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Bart Schaefer Subject: Re: Vanishing files ? Date: Sun, 28 May 2006 16:24:31 -0700 > On May 28, 8:38pm, Meino Christian Cramer wrote: > } > } > Have you checked that you're not, for example, attempting to execute > } > a program named "/bin/zsh^M" (where ^M is a carriage return)? > } > } With vim I loaded the script in question and did a > } "set list", which displays anything, which normally is suppressed. > } After the "h" of "#!/bin/zsh" there is only a "$", meaning that > } this is the end of line. > > That's not necessarily an accurate test. If the "fileformats" option in > vim includes the word "dos", then it will treat "\r\n" as end of line and > hide the ^M from you, even with "set list". > > } Same results with another editor (Microemacs). > > I don't know anything about Microemacs specifically, but most Emacs > variants also are "smart" about automatically handling line endings. > > Try "cat -v" on the script. > THAT's it !!! Thanks a lot, one nightmare less ! :) Keep hacking! Meino