delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/22/13:55:31

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
From: "linda w \(cyg\)" <cygwin AT tlinx DOT org>
To: <cygwin AT cygwin DOT com>
Subject: RE: Bourne Shell Programming on Windows
Date: Sun, 22 Jun 2003 10:54:30 -0700
Message-ID: <000001c338e7$54938260$1403a8c0@sc.tlinx.org>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
In-Reply-To: <5.2.1.1.2.20030622092940.01dc9698@pop.sonic.net>


> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Randall R Schulz
> TAM,
>
> Cygwin includes ash, BASH and pdksh (as well as zsh and tcsh), so the
> answer is pretty much "yes," though with BASH you might want to
> investigate its Bourne shell compatibility mode. I'm unfamiliar with
> any details of pdksh's Bourne compatibility, but it should be pretty
> close or perhaps have a Bourne shell compatibility mode as BASH does.
===

	Isn't 'ash' (/bin/sh) bourne shell compatible?  I thought the
intent in ashwas to strip the shell down to basics, but still run original
bourne shell scripts.  I'm not sure, but I think ash might provide
the closest bourne shell compatibility, since I don't think it provides
all the ksh enhancements.

	Assuming one only wanted the basic bourne shell, wouldn't ash
(/bin/sh)
be the best choice (smallest .exe, least overhead, and fastest load
time).  I believe it is the shell used by default for /bin/sh.

	If you need korn shell extensions, /bin/sh might not have what you
need.
-linda



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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