![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
perl -pi~ -e 's/foo/bar/' *.xyz
I often have to go through a list of files and make minor tweaks to them. And we're talking about 150-200 files. It blows my coworkers' minds away that I can do search&replace that quickly. IIRC, this is actually what got me started on perl in the first place. I am waaaay too lazy. In reply to Re: Favourite One-liners?
by Tanktalus
|
|