cURL / Mailing Lists / curl-users / Single Mail


Re: Prevent/confirm before dumping binary data to terminal?

From: Daniel Stenberg <>
Date: Tue, 25 Feb 2014 22:51:05 +0100 (CET)

On Mon, 24 Feb 2014, Ramesh Dharan wrote:

> Iím curious if anyone has ever proposed an option to make curl behave
> similar to less with respect to binary data; i.e. when writing binary data
> to a TTY, first confirm with a prompt:
> $ curl
> Output may be binary data. Print anyway?

No, I've not seen anyone suggest such an idea but I have to admit it sounds
rather attractive. Do you have any particular insights in how less or other
tools do the detection?


List admin:
Received on 2014-02-25