As long we're writing one-liners, that should probably beperl -nle 's/\d+\./xxx./g; print' filename
See -p in perlrun.perl -ple 's/\d+\./xxx./g' filename
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In reply to Re^2: Filtering out IP addresses
by kennethk
in thread Filtering out IP addresses
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |