mirror of https://github.com/w4/bin.git
f3ef493ddf
A curl call like curl -X PUT --data-binary @data.txt https://host/ outputs the paste URL without a newline a-la https://host/somepastenamewhich can mess up the terminal prompt. I don't really see the downside of adding a newline. The workflow of url="$( curl -X PUT --data-binary @data.txt https://host/ )" curl "$url" still works, since the shell strips the newline in command substitutions. |
||
---|---|---|
.. | ||
errors.rs | ||
highlight.rs | ||
io.rs | ||
main.rs | ||
params.rs |