Print versions with grep