Look, a new #curl option proposed by @icing: '--out-null'
github.com/curl/curl/pull/1780…
curl, new long option '--out-null' by icing · Pull Request #17800 · curl/curl
Add a new commandline option --out-null that discards all response bytes into the void. Replaces non-portable use of '-o /dev/null' with more efficiency. Feature earliest for 8.16.0GitHub
Elias Mårtenson
in reply to daniel:// stenberg:// • • •EricJ
in reply to daniel:// stenberg:// • • •I wonder what the use case is. 🤔 Ignoring response data from portable scripts? My inner Python coder says I would have let the subprocess write to stdout as normal, then just not read from the pipe. Are we worrying about script performance?
Interactive use? Not sure I see the point there. Fewer characters to type?
Winni Neessen
in reply to daniel:// stenberg:// • • •Howard Chu @ Symas
in reply to daniel:// stenberg:// • • •is it really so hard to teach Windows users to use `-o nul:` ?
Who cares about performance when you're throwing away the data?