curl-users
Re: avoid sending binary output to terminal
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 26 May 2017 22:36:28 +0200 (CEST)
Date: Fri, 26 May 2017 22:36:28 +0200 (CEST)
On Fri, 26 May 2017, Xeno Campanoli via curl-users wrote:
> Typically in the past that would be handled by a pipe filter. People still
> do that, don't they?
How would a "pipe filter" save someone who accidentally sends a jpeg to
stdout?
> Also, I think a more interesting mechanism would be handling the swamps of
> heterogeneous encodings, like the 9000 accidental ones from MSW systems.
Do you mean "more interesting" as in the current way of detecting accidental
binary output isn't good enough for this use case, or are you saying you want
to suggest a better way to detect binary ouput?
-- / daniel.haxx.se ----------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2017-05-26