in reply to A new question from the front line
If you know 'energy' wont occur on successive lines, how about:
perl -pe'$_=/\benergy\b/&&<>'
-Blake
In Section
Seekers of Perl Wisdom
in reply to A new question from the front line
perl -pe'$_=/\benergy\b/&&<>'
-Blake