grepping last entry on a single line