Q:

ksh + smart test line solution

I 
write the following syntax (part  of my ksh script)
to check if the first word of LINE=star 
and the second word is car
     [[ ` echo $LINE | awk '{print $1}' ` = star  ]] && [[  ` echo $LINE | awk '{print $2}' ` = car  ]] && print "match"

I need other simple smart and shorter solution then my syntax. 
from awk,perl or sed(if it possible to use echo only once or better if we cant not use echo, because I need to save time to minimum)
can I get some ideas?

A:

you don't actually need to call any external tools
set -f 
set -- $LINE
case "$1 $2" in 
 "star car") 
    echo "match";;
esac

