in reply to Matching range of text with another string in between
perl -ne "BEGIN{print scalar <> for 1..14} END{print +(split /^/, $x)[ +-3..-1]} $x = $x x !/\QLX*/ . $_; /\QCAS*\E/ && print $x x $x =~ /000 +03/" "filename"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Matching range of text with another string in between
by periodicalcoder (Novice) on Apr 27, 2016 at 21:29 UTC | |
by Anonymous Monk on Apr 27, 2016 at 21:53 UTC | |
by periodicalcoder (Novice) on Apr 29, 2016 at 00:22 UTC | |
by Anonymous Monk on Apr 27, 2016 at 21:48 UTC |