[Issue 13512] dmd cannot compile perfectly valid code with shebang

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 20 18:32:39 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13512

--- Comment #3 from Vladimir Panteleev <thecybershadow at gmail.com> ---
DMD is not going to change existing standards, but it can choose to not follow
them. After all, you don't expect to have a working KOI-8 shebang on a UTF-16
source file?

You can work around this issue as follows:

sudo ln -s /opt/dmd/пробы /opt/dmd/tests

then using #!/opt/dmd/tests/rdmd as your shebang.

--


More information about the Digitalmars-d-bugs mailing list