Don't ask to ask, just ask | |
PerlMonks |
Re^5: Join lines that match an stringby kennethk (Abbot) |
on Jul 13, 2010 at 00:25 UTC ( [id://849135]=note: print w/replies, xml ) | Need Help?? |
I am confused. If I copy the posted file:
into the file 'input.txt' and then execute the command perl -e 'while(<>){chomp; last if /p_agrs/;print if /remotely/}' < input.txt I get the output msg='script to be execute remotely: Is this not consistent with what you observe?
In Section
Seekers of Perl Wisdom
|
|