France’s anti-terrorism prosecutor’s department said on Saturday that it would investigate a knife attack near Paris the previous day.