|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
perl programs from the command line in the manner of sed?by OfficeLinebacker (Chaplain) |
| on Apr 21, 2006 at 11:48 UTC ( [id://544935]=perlquestion: 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.OfficeLinebacker has asked for the wisdom of the Perl Monks concerning the following question:
Esteemed Monks,
I ended up using a bunch of sed commands to alter a file I had into a format that I ultimately used with grep -f. I'd like to learn more about how to use perl one-liners to do the same thing. I did a SuperSearch, but can't seem to figure out how to isolate 'sed' alone from 'used','uninitialised', etc. Any recommendations on this? Or should I just stick with sed for quickie one-liners? Thanks, T.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||