[Rio-pm] In place editing recursivo

Nuba Princigalli nuba em fastmail.fm
Terça Junho 9 08:08:51 PDT 2009


Ah, como a vida é simples no mundo *nix :)

$ find . -iname '*.fdf' -print0 | xargs -0 perl -i.bak -pe 's/CA/CB/g'

Eu fico tão mal acostumado que preferiria montar o fs via samba do que
tentar sobreviver como sysadmin no cmd.exe.

Donato, você sabe que máquina virtual hoje em dia está mamão com
acúcar, né?

Abraço,

Nuba
--
Nuba Rodrigues Princigalli  
nuba at bcc.ic.uff.br  http://sites.bcc.ic.uff.br/nuba/  aim:nprincigalli
Systems & Network Administrator,   Perl Developer, Hacker & Enthusiast

"It's not the size of the dog in the fight, 
it's the size of the fight in the dog." - Mark Twain



Mais detalhes sobre a lista de discussão Rio-pm