So I was just taking a look at the example posted on the dlang website here: http://dlang.org/rdmd.html and was looking to do something like the second version where you define #!/usr/bin/env rdmd
as the first line of your file. I copied and pasted the exact copy of what they have there just to try it out and everytime I try to do ./myprog.d
I get: : No such file or directory
What am I missing here? If I run rdmd ./myprog.d
it works just fine so I know rdmd is in the proper path