Writing a note here about how to print the all fields from number n to the end with awk
. It might be useful for someone else sometime.
awk 'BEGIN{ FS="-" }{ print substr($0, index($0,$3)) }'
That would match going-on-in-here in the following string
something-is-going-on-in-here