posix me harder

David Collier-Brown davecb at canada.sun.com
Thu Mar 14 09:04:02 GMT 2002


Mike Gerdts wrote:
>     $ what /bin/sh
>     /bin/sh:
>             SunOS 5.8 Generic 109324-04 October 20

	Aha!  Fixed in /bin/test, and in at least ksh
	but not fixed in sh, which seems to use a 
	builtin!

	Try  if /bin/test -L foo ; then echo "foo is a symlink" ;fi
	which gives a different result than "test" or "["

--dave
-- 
David Collier-Brown,           | Always do right. This will gratify 
Performance & Engineering      | some people and astonish the rest.
Americas Customer Engineering, |                      -- Mark Twain
(905) 415-2849                 | davecb at canada.sun.com




More information about the samba-technical mailing list