hi, can anyone tell me why the following line only
creates the .profile.bak, but does not make the changes inside the files ?
find . /backup/johnm -name ".profile" -exec perl -pi.bak -e 's(COBDIR=/opt/lib/cobv4.1.40/cobol/)(COBDIR=/opt/lib/cobv4.2.0/cobol)g' {} \;
creates the .profile.bak, but does not make the changes inside the files ?
find . /backup/johnm -name ".profile" -exec perl -pi.bak -e 's(COBDIR=/opt/lib/cobv4.1.40/cobol/)(COBDIR=/opt/lib/cobv4.2.0/cobol)g' {} \;