top | item 40201927

(no title)

obi1kenobi | 1 year ago

The shell script starts with the following comment:

    # All the code is wrapped in a main function that gets called at the
    # bottom of the file, so that a truncated partial download doesn't end
    # up executing half a script.

discuss

order

arp242|1 year ago

Most of these scripts have been doing that for years.

obi1kenobi|1 year ago

I'm sure of it. And yet based on this rapidly getting to the front page, it seems like many of us are part of today's lucky ten thousand: https://xkcd.com/1053/

Might be more than ten thousand, even, based on the reactions :)