'test -S'

William L. Jones jones at hpc.utexas.edu
Mon Feb 5 10:15:13 EST 2001


Yes but ./configure has a #! /bin/sh in it.  ksh has -S but sh up to sunos 
5.7 does
not.  I don't about any other of the sun system.

I just edit ./configure to use bash my self to get around the problem on 
suns :)

At 02:42 PM 2/4/01 -0800, Darren J Moffat wrote:
>"William L. Jones" wrote:
> >
> > it looks like Sunos up to 5.7 does not have a -S test.
>
>5.5.1 is the first time that -S is documented in if(1)
>
>It existed in 5.1 which is when ksh first appeared. Note that -S exists
>only in ksh not in sh.
>
>But /usr/bin/test will use ksh rather than sh.  /usr/bin/test first
>appeared in 5.5.
>
>--
>Darren J Moffat






More information about the openssh-unix-dev mailing list