title: How do I create a bash script that will list all private repos on github using OAUTH token?
body: <p>On github, I generated an OAUTH token.</p>
  <p>I am not sure how to use this, as there are no examples given with what I want to do, and the other simple examples do not work.</p>
  <p>I want to simply list all private repos (one repo per line), that's it.</p>
  <hr />
  <p>If anyone has done this in a bash script, please post.  I am on RHEL 8.2, minimally I can use bash and perl in the script.</p>
  <p>I want to keep it super simple and have it work on a system by default (with what is there by default) without installing additional packages (like other languages to parse the JSON response).</p>
  <p>I have perl code that will parse out the repos from the JSON response (for public repos), but not sure how to fetch private repos using OAUTH token.  Perl because it's there by default when I install RHEL 8.2 (if I can leave this out and do in pure bash, or some other GNU util found on every install by default, would do that also).</p>
  <hr />
  <p>I want the script to get all private repos, not just the first page, so it would need to work some magic to go beyond what you would see with web page pagination.</p>
  <p>I will post the final solution, once I piece that together.</p>