I have a line of output with three quotes, and I specifically need to extract the second quote into a variable. So for example, with the command cmd | grep tokens, I get the following output:
Output
"abcde", "12345", "zyxwv"
I need to pull 12345 out of there. The closest I've gotten is by adding | cut '\"' -f2 to the command, but that returns "abcde". How can I get the second quote rather than the first?