Making reverse jump search work for ubuntu and mac