A man armed with a knife attacked people out shopping in the southeastern French town of Romans-sur-Isère on Saturday, killing two and wounding four, the mayor said.