#!/bin/bashjson='{"access_token":"kjdshfsd", "key2":"value"}' echo $json | grep -o '"access_token":"[^"]*' | grep -o '[^"]*$'
Standard input is empty
kjdshfsd
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!