This repo has grown a lot of tools that I use on my own system. There's a uri.h that can be included in other C programs Most of the programs will take single letters to refer to parts of a URI. each piece is: s: scheme u: username k: password (k for key) d: domain P: port p: path q: query_string f: fragment_id ## uricut used for cutting portions of a URI out from the rest of it. to cut the domain out of all the input URIs and show one per line. ``` urilist | uricut -d ``` ## urimatch used for matching URIs multiple arguments will print if any of the rules match. so if you want to print only if all of the rules match, pipe urimatch into another urimatch to print all gemini or gopher URIs: ``` urilist | urimatch s gemini s gopher ``` to print all the gemini URIs that are for the domain gemini.thebackupbox.net ``` urilist | urimatch s gemini | urimatch d gemini.thebackupbox.net ``` to print all the non-http links using reverse match and globbing ``` urilist | urimatch rs 'http*' ```