On 2013-08-30 09:39, eles wrote:
On Linux 64$chmod +x htest $cat ./htest #!/usr/bin/env rdmd import std.stdio; void main() { writeln("hello world!"); } then: $./htest Error: cannot read file ./htest.d Failed: 'dmd' '-v' '-o-' './htest.d' '-I.' OTOH: $cp htest htest.d $./htest.d hello world! It seems that rdmd expects the script to bear the .d extension.
I'm pretty sure it's DMD that is the problem. -- /Jacob Carlborg