British police said five people had been injured after a man lunged at passers-by with a large knife in a shopping center.