> echo foo.bar.VALUE.baz.lala | awk -F. '{ print $(NF-2); }' > > excellent - just what i needed thanks