Technician was removing an idler pulley from a bulldozer and was striking the pulley with a sledge hammer. A shard of metal was ejected and it struck the technician penetrating the technician's leg. The metal was imbedded in the leg and had to be removed by a medical professional.