Knife-weilding man robs Family Dollar