Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: grep return the entire file not the line which matchesby vikashiiitdm (Novice) |
on Aug 03, 2011 at 17:07 UTC ( [id://918332]=note: print w/replies, xml ) | Need Help?? |
dear monk, thanks for the correction. my en_1000 file is made up of such lines and i need to extract the whole line based upon the id provided. <p id=EN--1000-0003-3> The object turned out to be a big meteorite. Uttama was delighted. He had never seen anything like it on sea or land before. Despite its journey in space and stay in water, it had retained its shape and colour. </p>
In Section
Seekers of Perl Wisdom
|
|