I have a lines:
something ..fdfad ABCD info
fdsafsda fae faefdsa fABCD info23
I want get line after ABCD
I have a lines:
something ..fdfad ABCD info
fdsafsda fae faefdsa fABCD info23
I want get line after ABCD
Let your shell handle it:
line="something ..fdfad ABCD info"
printf "result:%s\n" "${line##*ABCD }"