What you've written is mostly incoherent and incomprehensible.
heh, been a long day:)
Actually I am using gawk "/string1/ && /string2/ { print substr( $1, length($1) - 1, length($1) ) }" which gets me what I need, the last two characters of the first field of a specific match...
Sorry <vbg>, jlc