delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/18/11:20:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 18 Jun 2002 17:19:48 +0200
From: Thomas Baker <thomas DOT baker AT bi DOT fhg DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: KSH on Cygwin
Message-ID: <20020618171948.A2024@mail.gmd.de>
Mail-Followup-To: Thomas Baker <thomas DOT baker AT bi DOT fhg DOT de>, cygwin AT cygwin DOT com
References: <20020614212340 DOT 84404 DOT qmail AT mail DOT com> <20020616061322 DOT GA10545 AT butch DOT jgcomp DOT com> <20020617150837 DOT A836 AT mail DOT gmd DOT de> <20020618134128 DOT A2084 AT mail DOT gmd DOT de> <20020618151001 DOT N30892 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20020618151001.N30892@cygbert.vinschen.de>; from corinna-cygwin@cygwin.com on Tue, Jun 18, 2002 at 03:10:01PM +0200

On Tue, Jun 18, 2002 at 03:10:01PM +0200, Corinna Vinschen wrote:
> On Tue, Jun 18, 2002 at 01:41:28PM +0200, Thomas Baker wrote:
> > I have been looking forward to KSH in particular, because
> > that is what it will take for me to move completely from MKS
> > Toolkit to Cygwin.  When I first installed Cygwin on the same
> 
> What I don't quite get is:  Is there actually any important
> feature in ksh which isn't already available in bash/tcsh/zsh?

I wrote a two-page script in KSH about eight years ago and
still depend on it on a daily basis for my work.  When I
try simply changing the #! line to bash I get error messages
suggesting that bash lacks certain features or expresses them
in another syntax.  I am not a programmer, just an amateur
shell-script writer, and do not have the time to solve these
various problems.  For all I know, a real shell expert could
port the script in twenty minutes; I wouldn't know.

One KSH-specific construct, I believe, is "print -u3"
to park some output in a buffer with the handle "3".

Tom

-- 
Dr. Thomas Baker                                Thomas DOT Baker AT bi DOT fhg DOT de
Institutszentrum Schloss Birlinghoven          mobile +49-171-408-5784
Fraunhofer-Gesellschaft                          work +49-30-8109-9027
53754 Sankt Augustin, Germany                     fax +49-2241-14-2619

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019