trurl tool by @bagder and contributors is great!
https://github.com/curl/trurl
Now I don't need to worry about URL encoding, e.g.: https://github.com/rybak/scripts/commit/df32aa2dff30d3bbbbb0c23b396ccc12dd96e26a
@andrybak @bagderThat's what curl is enough for, see "curl --get" example in the man page of curl.
@tamas @bagder true and great if you need to type it in single shell command in an interactive session.
trurl as a separate step has the following advantages:
1) the script is more readable 2) UNIX-way separation3) in my scripts where I use trurl I often need access to the URL for logging/debug/etc
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.