zsh-users
 help / color / mirror / code / Atom feed
* Script Conversion
@ 2002-11-26 17:03 Daniel Rigal
  2002-11-26 17:37 ` Stephane Chazelas
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Rigal @ 2002-11-26 17:03 UTC (permalink / raw)
  To: zsh-users


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Script Conversion
  2002-11-26 17:03 Script Conversion Daniel Rigal
@ 2002-11-26 17:37 ` Stephane Chazelas
  0 siblings, 0 replies; 2+ messages in thread
From: Stephane Chazelas @ 2002-11-26 17:37 UTC (permalink / raw)
  To: zsh-users

I've used ages ago a perl tool by Olivier Aubert
(http://perso-info.enst-bretagne.fr/~aubert/perl/)

If you search google for csh2sh, you find similar tools.

-- 
Stéphane



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-26 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-26 17:03 Script Conversion Daniel Rigal
2002-11-26 17:37 ` Stephane Chazelas

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).