trurl 0.13

trurl 0.13

On May 15, version 0.13 of the console utility was released trurl, written in C using the libcurl library. The utility is designed for parsing and other manipulations with URLs.

trurl is a tool in the spirit of tr, but for URLs:

$ trurl --url https://www.linux.org.ru/help/rules.md --get ‘{path}’

/help/rules.md

$ trurl --url https://www.linux.org.ru --append path=forum

https://www.linux.org.ru/forum

Change log:

  • freeing allocated memory on OOM errors;
  • short keys no longer require splitting the argument with spaces;
  • adding path segments only on the first iteration;
  • other minor fixes.

Video presentation (1:05:53).

Source: linux.org.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster