Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: re-ordering lines of text in a file?by moddingforfun (Initiate) |
on Dec 02, 2016 at 14:34 UTC ( [id://1177102]=note: print w/replies, xml ) | Need Help?? |
Thanks to all Posters. Your comments got the old mental gears turning. I figured out *why* the shell script wasn't working, due to comments made here. Hint : replaced grep 'term-goes-here' with grep 'term-goes-here.*' .... that gets the entire line of text. Learned something anyways ... Thanks to All.
In Section
Seekers of Perl Wisdom
|
|