move 'sh' to the front of the arg list, so that regex can handle c++ -> c transform correctly