bourne and korn shell incompatibilities

XMRP50000[jcm]-a.v.reed avr at mtgzz.UUCP
Fri Feb 5 05:22:15 AEST 1988


In article <674 at pttesac.UUCP>, vanam at 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)



More information about the Comp.unix.questions mailing list