good day all
I am not able to see my error, I would like to find the position of a substring "searchstring" within string "t"
of a few methods I have looked at, this seems easiest and most understandable however this just hangs (both)
awk 'match($t, "$searchstring")'
awk '{print match($t, "$searchstring")}'
t ="MULTI: primary virtual IP for xyz/x.x.x.x:44595: 10.0.0.12"
searchstring ="IP for"
any suggestions?