I'm attempting to take the last word or phrase using grep for a specific pattern. In this example, it would be the from the last comma to the end of the line:
Blah,3,33,56,5,Foo 30,,,,,,,3,Great Value
And so the wanted output for that line would be "Great Value". All the lines are different lengths as well, but always have a single comma preceding the last words.
Basically, I would like to simply output from the last comma to the end of the line. Thank you!
awk -F, '{print $NF}'? – steeldriver 3 hours ago