I would try to get some distance between me and the guy with the knife. I would point out to any one close that this guy has a knife and that he intends to rob me. Call 911 if posible. If all else fails and he keeps advanceing I would shoot. After he is down make sure the knife dosen't disappear.