rdmd and shebang limits
Jesse Phillips
Jesse.K.Phillips+D at gmail.com
Thu Jan 9 18:11:26 PST 2014
On Thursday, 9 January 2014 at 11:25:19 UTC, Andrea Fontana wrote:
> I've just discovered that shebang line has a (very short)
> limit. Only 127 bytes are read from line
>
> It means that something like this doesn't work:
>
> #!/usr/bin/rdmd --shebang
> -I/asdasdasdasd/asdasdasdasd/asdasdasdasd
> -I/qweqweqweqwe/qweqweqweqwe/qweqweqweqwe/qweqweqweqwe/qweqweqweqwe/qweqweqweqwe/
If you need to specify import paths, your script is probably
fragile and broken on different linux/bsd distributions.
I don't have a solution.
More information about the Digitalmars-d
mailing list