[CentOS] More awk help

Joseph L. Casale JCasale at activenetwerx.com
Wed Jun 24 23:15:10 UTC 2009


>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



More information about the CentOS mailing list