posix me harder

David Collier-Brown davecb at canada.sun.com
Fri Mar 15 03:59:04 EST 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 

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

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 rsync mailing list