Scriptometer

bearophile bearophileHUGS at lycos.com
Wed Nov 3 16:48:13 PDT 2010


Tomek S.:

> Nice page. I submitted some "scripts" so D will be featured on it.

You may show them here too.


> BTW, I was stuck on "sed in place" -- remove #-comments from a file  
> (modifying the file, i.e. in place):
> http://rigaux.org/language-study/scripting-language/#sed_in_place
> Any idea how to pull it off nicely?

Adding a struct like the Python fileinput to std.stdio of Phobos?
http://docs.python.org/library/fileinput.html

Bye,
bearophile


More information about the Digitalmars-d mailing list