perl -ne 'print $1 if /INC\*XX\*(\d+)/' cr835.txt 123456 [download]
In reply to Re: Print text on the same line after match by toolic in thread Print text on the same line after match by periodicalcoder