How do I print the remainder of a string (not just the columns without the delimiter) after the nth delimiter?
I have a text file with a bunch of registry keys, similar to:
hku\test\user\software\microsoft\windows\currentversion\runonce\delete cached update binary
I'm wanting to print everything after the 3rd \
character. So I am looking for the output to be
software\microsoft\windows\currentversion\runonce\delete cached update binary
I know how to print out specific columns with awk
, but is there any simple way using bash
to specify a delimiter to split the string at, instead of using the delimiter to print columns?