digitalmars.D.bugs - [Issue 9287] New: DMD should read from stdin when the only input file is "-"
- d-bugmail puremagic.com (19/19) Jan 09 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9287
- d-bugmail puremagic.com (14/14) Jan 09 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9287
- d-bugmail puremagic.com (15/15) Jan 10 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9287
http://d.puremagic.com/issues/show_bug.cgi?id=9287 Summary: DMD should read from stdin when the only input file is "-" Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: alex lycus.org CET --- This is consistent with behavior in most other language compilers (and tools in general). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 09 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9287 Alex Rønne Petersen <alex lycus.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alex lycus.org Summary|DMD should read from stdin |DMD should read from stdin |when the only input file is |when an input file is "-" |"-" | CET --- Scratch that, it should read from stdin if "-" is one of the input files. Doesn't have to be the only one. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 09 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9287 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com 10:24:49 PST --- This is problematic because DMD uses single dash for arguments, if you accidentally run DMD with: $ dmd -arg1 - arg2 -arg3 You're going to get some pretty awful error messages if DMD tries to read this. But you can already use RDMD for this via `--eval=code`, why reimplement this in DMD? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 10 2013