Apr 03, 2023

I have long complained about the lack of a standard unix tool for manipulating URLs at the command line; now there's one from Daniel Stenberg, the author of curl.

introduced here:

see also parse-url

$ ./trurl --json
  "url": "",
  "scheme": "https",
  "host": "",
  "port": "443",
  "path": "/",

Not yet available on homebrew, but building it was trivial; clone the repo and make

↑ up