A history-sheeter in Ahmedabad was shot in the leg by police after attacking officers with a knife during questioning; he has over 30 criminal cases.