OfficeLinebacker has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl programs from the command line in the manner of sed?
by kvale (Monsignor) on Apr 21, 2006 at 15:52 UTC | |
|
Re: perl programs from the command line in the manner of sed?
by davido (Cardinal) on Apr 21, 2006 at 16:00 UTC | |
by OfficeLinebacker (Chaplain) on Apr 21, 2006 at 16:03 UTC | |
|
Re: perl programs from the command line in the manner of sed?
by blazar (Canon) on Apr 21, 2006 at 16:02 UTC | |
by OfficeLinebacker (Chaplain) on Apr 21, 2006 at 18:21 UTC | |
|
Re: perl programs from the command line in the manner of sed?
by ghenry (Vicar) on Apr 23, 2006 at 20:17 UTC |