rdmd problem

Seb seb at wilzba.ch
Mon Apr 1 12:57:19 UTC 2019


On Monday, 1 April 2019 at 11:23:23 UTC, Seb wrote:
> On Monday, 1 April 2019 at 11:10:06 UTC, Comrad wrote:
>> [...]
>
> Shebang only supports one argument on your OS.
> See e.g. 
> https://unix.stackexchange.com/questions/63979/shebang-line-with-usr-bin-env-command-argument-fails-on-linux
>
> Please use the "Learn" forum the next time.

To extend on this: as this is a well-known limitation, rdmd has 
the --shebang switch that can be used to indicate to rdmd to 
split the arguments itself.

#!/usr/bin/rdmd --shebang -preview=dip25


More information about the Digitalmars-d mailing list