Listing 1

BEGIN {
}
{
   # (1)
   if(length($0) == 0) next
   # (2)
   if($1 == "fruit:") print
}
END {
}