logoalt Hacker News

wolttam • yesterday at 1:15 PM • 2 replies • view on HN

    curl > some_file
    bash some_file
(Also, how in the world would a server be able to tell where you’re piping the response?)

Edit: thanks for the replies, that makes perfect sense


Replies

foodevl • yesterday at 1:49 PM

Timing. A megabyte of "sleep 10;" would be read from the server more slowly when piped to bash versus written to a file