'test -S'

Darren J Moffat Darren.Moffat at eng.sun.com
Mon Feb 5 09:42:42 EST 2001


"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