|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: perl programs from the command line in the manner of sed?by blazar (Canon) |
| on Apr 21, 2006 at 12:02 UTC ( [id://544938]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You should check perldoc perlrun, in particular you're likely to be interested in -n, -p, or the "chomping versions" -ln, -lp, possibly with inline modifying, -i and/or with changing the input record separator... As for PM's Super Search, try with "oneliners" et similia, although the results won't be focused on conversions from sed, they're likely to solve tasks similar to the ones you're interested in.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||