Rust's simple download script

qznc via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 10 06:53:52 PST 2015


On Tuesday, 10 November 2015 at 00:46:39 UTC, Adam D. Ruppe wrote:
> Not necessarily. At least a separate download gives you a 
> chance to verify the download was completed too. Piping direct 
> into shell could deliver an end-of-file in the middle of a file 
> (e.g. in the case of a network error) which might change the 
> results.

 From sandstorm.io I know the trick to wrap everything into a 
function and call it in the end. An EOF will result in a syntax 
error then.


More information about the Digitalmars-d mailing list