I have tested the port file without quotes:Hi!
On Nov 15, 2015 9:29 PM, "Reinier Millo Sánchez" <rmillo@...210...> wrote:
>> find . -name "*.C" -exec rename 's/\.C$/.cpp/' '{}' \;
>
> I have tried something like this on the port file:
>>
>> CMD := `find . -name "*.C" -exec rename 's/\.C$/.cpp/' '{}' \;`
>>
>> default:
>> Â Â Â ${CMD}I'm not sure if this is the (only) issue, but the back-quotes look fishy to me. Does this fix your issue?
but get the same results. The .C extension not change.CMD := find . -name "*.C" -exec rename 's/\.C$/.cpp/' '{}' \;
-- Lic. Reinier Millo Sánchez Centro de Estudios de Informática Universidad Central "Marta Abreu" de Las Villas Carretera a Camajuanà Km 5 1/2 Santa Clara, Villa Clara, Cuba CP 54830 "antes de discutir ... respira; antes de hablar ... escucha; antes de escribir ... piensa; antes de herir ... siente; antes de rendirte ... intenta; antes de morir ... vive"