Ben Zanin on Nostr: If you have a few little scripts hanging around in your ~/bin/ that use regexes to ...
If you have a few little scripts hanging around in your ~/bin/ that use regexes to destructure and/or synthesize URLs, give npub1p450apv3j8jmqjct3ddfklzusxyfkkyqpzxx4p33u099xjzvfwwsw789jz (npub1p45…89jz)'s trurl(1) a look. It's small, simple, speedy, and super useful; it makes the intent of the transformation a lot easier to infer from its implementation. I don't know whether it'll grow to be as popular as its big brother curl(1) - the niche is smaller - but I hope it does!
https://curl.se/trurl/
https://curl.se/trurl/manual.html
https://github.com/curl/trurl
https://curl.se/trurl/
https://curl.se/trurl/manual.html
https://github.com/curl/trurl