Yes, that's the smoking gun!
$ echo token:abc:def | grep -E ^token | cut -d: -f2
abc
$ echo token:abc:def | awk -F: '/^token/ { print $2 }'
abc
Conditions don't have to be regular expressions. For example: $ echo $CSV
foo:24
bar:15
baz:49
$ echo $CSV | awk -F: '$2 > 20 { print $1 }'
foo
baz $ echo '{ "hello": "world" }' | python3 -m json.tool
{
"hello": "world"
}