grep only on end of whole command line