Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!pacbell!pb2esac!pttesac!robert From: robert@pttesac.UUCP (Robert Rodriguez) Newsgroups: comp.unix.wizards Subject: Re: ksh incompatabilities with sh? Summary: "if" syntax error Message-ID: <785@pttesac.UUCP> Date: 10 Jun 88 04:48:09 GMT References: <16094@brl-adm.ARPA> <15352@tut.cis.ohio-state.edu> Reply-To: robert@pttesac.UUCP (Robert Rodriguez) Organization: Pacific*Bell ESAC, San Francisco, Ca. Lines: 16 A colleauge of mine found an incompatibility between ksh and sh. In the System V "sh" the following test works: if [ -f /usr/anyusr/* ] ; then # There are files there But "ksh" claims this is a syntax error. Our $0.02 worth. While I'm posting, I'm 'gonna up it to $0.04. A guy posted a message asking for a AWK to C converter. He was flamed, told to find /bin/cc. That stinks in my opinion. The guy who flamed him should read the guest article in the January issue of UNIX World.