"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