From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3274 invoked from network); 26 Nov 2002 17:04:19 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 26 Nov 2002 17:04:19 -0000 Received: (qmail 10157 invoked by alias); 26 Nov 2002 17:03:47 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5539 Received: (qmail 10123 invoked from network); 26 Nov 2002 17:03:42 -0000 Sender: dr50132 Message-ID: <3DE3A94F.2147614E@aepona.com> Date: Tue, 26 Nov 2002 17:03:11 +0000 From: Daniel Rigal Organization: Aepona (England) Ltd. http://www.aepona.co.uk/ X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-4 i686) X-Accept-Language: en MIME-Version: 1.0 To: zsh-users@sunsite.dk Subject: Script Conversion Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *18Gj7A-0003z4-00*lbCW6STKrRw* Hi everybody, As I understand it, Zsh's compatibility with Csh syntax does not run very deep and it can't cope with Csh's nasty non-standard syntax for things like "if". Assuming I am right about this, does anybody know of a script or utility that can automatically convert Csh scripts into a format which Zsh can source? Ideally, I would like conversion to vanilla Sh syntax and support for converting the Csh "if" and "switch" commands. In practice, I will take what I can get. I already know about the script for processing .cshrc, etc on the fly but I don't think that handles Csh style "if" statements, which is something that would which make my life a lot easier. Any help would be appreciated. Regards, Daniel. -- Daniel Rigal MSc IT Support AePONA (England) Ltd E-mail: daniel.rigal@aepona.com Web: http://www.aepona.co.uk/ Phone: +44 7870 23 77 06 Fax: +44 1483 30 53 64