DMD 1.005 release

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Feb 6 21:45:14 PST 2007


"Jari-Matti Mäkelä" <jmjmak at utu.fi.invalid> wrote in message 
news:eqaban$2l90$1 at digitaldaemon.com...
> BCS kirjoitti:
>> Without the gratuitous stuff that has to be the cleanest quine outside
>> of bash (in bash an empty file prints nothing)
>>
>> import std.stdio;
>> void main(){writef(import(__FILE__));}
>
> And if the strings don't mess up with printf, it can be made even shorter:
>
> void main(){printf(import(__FILE__));}

"writef".length == "printf".length 





More information about the Digitalmars-d-announce mailing list