Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
01-main...jc: clean, fast URL/version extraction
How the code works: from JSON take (via `grep -m1 -o`) the line "browser_download_url": "https://github.com/kellyjonbrazil/jc/releases/download/v1.23.6/jc_1.23.6-1_amd64.deb" 1. extract the matching key/value pair, excluding the final dquote. 2. remove everything upto and including the first dquote -> URL 3. from the URL, remove everything upto & including /download/v 4. then remove everything from '/' onwards -> version
- Loading branch information