Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!lll-tis!ames!husc6!rutgers!mtune!mtgzz!avr From: avr@mtgzz.UUCP (XMRP50000[jcm]-a.v.reed) Newsgroups: comp.unix.questions Subject: Re: bourne and korn shell incompatibilities Message-ID: <3586@mtgzz.UUCP> Date: 4 Feb 88 19:22:15 GMT References: <674@pttesac.UUCP> Organization: AT&T, Middletown NJ Lines: 8 Keywords: sh ksh Summary: Use echo and cut In article <674@pttesac.UUCP>, vanam@pttesac.UUCP (Marnix van Ammers) writes: > Works OK with the bourne shell. > if [ -f *.c ];then > Does anyone have any recommendations as to the best way to > make these scripts palatable to the korn shell? if [ -f `echo *.c|cut -f1 -d' '` ];then Adam Reed (mtgzz!avr)