fork download
  1. #!/bin/bash
  2.  
  3. a='
  4. {
  5. "kind": "yt#playlistItemListResponse",
  6. "etag": "\"hvjhjjvhj_hvhv/jvjhvjhvj-dd\"",
  7. "nextPageToken": "CDIQAA",
  8. "pageInfo": {
  9. "totalResults": 199,
  10. "resultsPerPage": 50
  11. },
  12. "items": [
  13. ...
  14. '
  15. echo "$a" | grep nextPageToken | cut -d '"' -f4
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
CDIQAA