I want to make the command below work but I can't. Please check this out:
echo "random string random string mark: abcde random string random string" |
awk '{gensub(/^.*mark: (.{5,5}).*$/,"\\1","g"); print}'
I want this command to return only "abcde". But it is always returning the entire input string. Why?