- or download this
<.... line 200 ....>
<.... line 201 ....>
<.... line 202 ....>
- or download this
grep -A 3 -B 3 xxx file-B >> file-A
- or download this
$out = qx/grep ... / #note that $out contains new lines
- or download this
$last = qx/tail -1 $fileA/
- or download this
if (($last =~ /\S/) && ($out =~/$last(.*)/)) {
$out = $1
}