Comment #0 by bearophile_hugs — 2011-03-24T03:35:36Z
Four things about rdmd build 20100913 (the one present in DMD 2.052). I am not sure Bugzilla is the right place for this.
-------------------
1) If I give rdmd the name of a file that's not D code, I don't receive any error:
rdmd foo.exe
-------------------
2) This line of the rdmd help contains a char that's not normally visible in the Windows shell:
--eval=code evaluate code +á la perl -e (multiple --eval allowed)
I suggest to replace it with something like:
--eval=code evaluate code as in perl -e (multiple --eval allowed)
-------------------
3) If I compile and run a normal little D program (here just a HelloWorld), sometimes it asks me to hit enter after the program run, and sometimes it doesn't require it:
C:\>rdmd hello.d
HelloWorld!
C:\>rdmd hello.d
C:\>HelloWorld!
-------------------
4) Sometimes rdmd leaves in the directory a map file like:
hello-d-C8F5A6BF039D650FD686DCFB9B208F94.map
Comment #1 by bus_dbugzilla — 2011-03-24T14:04:09Z
Re #2:
FWIW, on my Windows machine, I get a text-mode-line-drawing symbol followed by an accented 'a'. But I agree, "as in" would be better.
Re #3:
This already has a bug report and patch: issue 4688
Comment #2 by dlang-bugzilla — 2013-03-10T00:11:03Z
(In reply to comment #0)
> Four things about rdmd build 20100913 (the one present in DMD 2.052). I am not
> sure Bugzilla is the right place for this.
>
> -------------------
>
> 1) If I give rdmd the name of a file that's not D code, I don't receive any
> error:
>
> rdmd foo.exe
Seems to work fine now:
$ touch foo.exe
$ rdmd foo.exe
Error: cannot read file foo.exe.d
Failed: ^"dmd^" ^"-v^" ^"-o-^" ^"foo.exe.d^" ^"-I.^"
> 2) This line of the rdmd help contains a char that's not normally visible in
> the Windows shell:
>
> --eval=code evaluate code +á la perl -e (multiple --eval allowed)
>
> I suggest to replace it with something like:
>
> --eval=code evaluate code as in perl -e (multiple --eval allowed)
This is fixed (exactly as you suggested) now.
> 3) If I compile and run a normal little D program (here just a HelloWorld),
> sometimes it asks me to hit enter after the program run, and sometimes it
> doesn't require it:
>
> C:\>rdmd hello.d
> HelloWorld!
>
> C:\>rdmd hello.d
>
> C:\>HelloWorld!
As Nick said, filed as a separate bug that's presently fixed.
> 4) Sometimes rdmd leaves in the directory a map file like:
>
> hello-d-C8F5A6BF039D650FD686DCFB9B208F94.map
I believe this is fixed as well.