A Mechanic was removing the propel shaft on a Shovel using a steel cable and a Dozer. While positioning the cable on the dozer's ripper, a mechanic placed a hand near the line. When the dozer moved forward, the cable shifted and caught their left hand between the cable and the ripper.