A Tunisia-born Jew and French officer who fought the Berbers in Algeria pioneered the counterinsurgency warfare still used in Iraq and Afghanistan