Answer the question
In order to leave comments, you need to log in
How to find the word between..?
Help me to understand.
How to search inside a text file, you need to find this expression: CDIQAA
"nextPageToken": "CDIQAA",
Tried to use like this, does not fit
a="\"nextPageToken\": \"CDIQAA\","
echo "$a" | grep -o '"[^"]*"'
Answer the question
In order to leave comments, you need to log in
emnip, grep shows the string containing the search.
if you need a specific piece of string, then awk is the way to go.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question