Command Line Application in D
Mike James via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Aug 4 23:36:59 PDT 2014
On Monday, 4 August 2014 at 22:03:24 UTC, TJB wrote:
> On Monday, 4 August 2014 at 21:58:09 UTC, maarten van damme via
> Digitalmars-d-learn wrote:
>> I am a little bit confused as to what you want.
>> There is a command line example at dlang.org, and there exists
>> a program
>> (rdmd) that compiles several D files and runs them.
>> http://dlang.org/rdmd.html
>
> Sorry. I wasn't very clear. Say I want to find all of the files
> that have a certain extension within a directory and process
> them somehow at the command line. How could I do that?
Have a look at the function dirEntries in std.file.
regards,
-<mike>-
More information about the Digitalmars-d-learn
mailing list