trurl: command line tool for URL parsing and manipulation
One software thing I built at Facebook was called Host
— basically a PHP library to manipulate website hostnames without error-prone regular expressions, bad assumptions and “hunting for dots”. It saved a lot of potential problems and a moderate amount of CPU (0.1%+?) and I can see the same thinking here.
If you’re manipulating URLs, you should try this:
alecmuffett.com/article/108924
trurl: command line tool for URL parsing and manipulation
One software thing I built at Facebook was called Host — basically a PHP library to manipulate website hostnames without error-prone regular expressions, bad assumptions and “hunting for dots…Dropsafe
daniel:// stenberg:// reshared this.