From ldimitro at wfubmc.edu  Tue Dec 30 03:23:59 2003
From: ldimitro at wfubmc.edu (Latchezar Dimitrov)
Date: Tue Dec 30 03:23:54 2003
Subject: [Rd] What version is sh?
Message-ID: <F160BE32A2E5E04497668BBDFE83FEDF0881A3FA@EXCHVS1.medctr.ad.wfubmc.edu>

man sh says it's ash

Latchezar

> -----Original Message-----
> From: Duncan Murdoch [mailto:dmurdoch@pair.com] 
> Sent: Monday, December 29, 2003 7:06 PM
> To: r-devel@stat.math.ethz.ch
> Subject: Re: [Rd] What version is sh?
> 
> 
> On Mon, 29 Dec 2003 14:40:45 -0500, I wrote:
> 
> >I'm trying to write an automatic check of the toolset 
> installation for 
> >R.  It'll get all the tools to print their version numbers, and 
> >complain if they aren't acceptable ones.
> >
> >However, I can't see how to get sh to print version information.  Is 
> >there some way to do it?
> >
> >The sh I'm worried about is the one that comes with Cygwin, if there 
> >isn't a standard approach.
> 
> Several people suggested the GNU standard "--version" command 
> line option, which works for most of the Cygwin utilities, 
> but not this one.  Dirk Eddelbeuttel said
> 
> >I'd suspect that it is one of the small shells which e.g. 
> Debian calls 
> >them ash and dash; these are used on boot floppies and the 
> like where 
> >space is at a premium.  As a consequence, they may not support all 
> >full-blown command-line options. So to test the shell, you 
> may need to 
> >run a small shell script containing the features you want to 
> make use 
> >of later.
> 
> I think it must be one of those.  The executable is about 1/8 
> the size of the bash executable.
> 
> Duncan Murdoch
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list 
> https://www.stat.math.ethz.ch/mailman/listi> nfo/r-devel
>


[Rd] What version is sh?
Latchezar Dimitrov