www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5782] New: Few things about rdmd

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5782

           Summary: Few things about rdmd
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc



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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 24 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5782


Nick Sabalausky <cbkbbejeap mailinator.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbkbbejeap mailinator.com



14:04:09 PDT ---

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.


This already has a bug report and patch: issue 4688

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 24 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5782


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |thecybershadow gmail.com
         Resolution|                            |WORKSFORME



10:11:03 EET ---

 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. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 10 2013