Hydraulic or mechanical shears