more useful options | |
PerlMonks |
regex in perlby noviceuser (Acolyte) |
on Oct 21, 2021 at 09:41 UTC ( [id://11137842]=perlquestion: print w/replies, xml ) | Need Help?? |
noviceuser has asked for the wisdom of the Perl Monks concerning the following question: suppose i have multiple lines like below and i want to grep lines having "code" only after fixed pattern "/dir1/dir2/100.10/dir3/100.20/" . i have tried using grep "/code/",but it is giving all the lines containing the match elsewhere. please help
Back to
Seekers of Perl Wisdom
|
|