From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22938 invoked from network); 22 Dec 2003 18:26:09 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 22 Dec 2003 18:26:09 -0000 Received: (qmail 24153 invoked by alias); 22 Dec 2003 18:25:34 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6954 Received: (qmail 24138 invoked from network); 22 Dec 2003 18:25:34 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 22 Dec 2003 18:25:34 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.91.224.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 22 Dec 2003 18:25:33 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AYUkH-0005hW-00 for ; Mon, 22 Dec 2003 19:25:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AYUkF-0005hO-00 for ; Mon, 22 Dec 2003 19:25:31 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AYUkF-00077q-00 for ; Mon, 22 Dec 2003 19:25:31 +0100 From: zzapper Subject: Writing zsh scripts on (CYGwin Date: Mon, 22 Dec 2003 18:25:24 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Sender: news Hi, I'm just trying my first zsh scripts. (in fact converting bash scripts) However when I set the script to zsh rather than bash, I'm getting errors on blank lines (amongst other things)' although written using Vim in Unix mode. I guess zsh needs some flag set zsh 4.1.1 (i686-pc-cygwin) Please don't tell me to RTFM as I'm too early in the learning curve to find my way round the zsh help yet (tho' please let me where I schould have looked) zzapper (vim & cygwin & zsh) -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips