Path: utzoo!utgpu!watserv1!watmath!uunet!samsung!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!n8emr!uncle!jbm From: jbm@uncle.UUCP (John B. Milton) Newsgroups: unix-pc.general Subject: YAkshBug Keywords: ksh bug Message-ID: <682@uncle.UUCP> Date: 2 Feb 90 01:17:15 GMT Reply-To: jbm@uncle.UUCP (John B. Milton) Organization: U.N.C.L.E. Lines: 15 Well, bug or inconsistancy: if [ -f * ]; then echo yes; fi will print "yes" if there are one or more files when using /bin/sh, but not with ksh. Ksh gives a syntax error. if sh -c "test -f *"; then echo yes; fi Does work. John -- John Bly Milton IV, jbm@uncle.UUCP, n8emr!uncle!jbm@osu-cis.cis.ohio-state.edu (614) h:252-8544, w:469-1990; N8KSN, AMPR: 44.70.0.52; Don't FLAME, inform!