Re:Why curl defaults to stdout
by kybernetyk on Monday November 17, 2014 @02:04PM
(#8619808)
For debugging home made servers it's quiet nice (if you don't want to wireshark):
curl -silent http://i.imgur.com/0nCbgbi.jpg |hexdump -C |less
Now you could automate this for testing, etc.There are use cases for terminal output and changing this behavior now would probably wreck many 3rd party scripts. And if you really just want a simple download manager you probably should use wget anyways.
""curl http://...", screen is filled with garbage, ctrl-c, ctrl-c, ctrl-c, damn I'm on a remote host and ssh needs to catch up, ctrl-c, "cur...", actually terminal is broken and I'm writing garbage now, "reset", "wget http://..."."
I admit it happened to me more than once.