[Issue 9287] DMD should read from stdin when an input file is "-"

2017-08-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9287

--- Comment #8 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/7d1813309a8c89c8349672ba37a8c15f9d5a42a2
Fix issue 9287 - implement reading source from stdin.

https://github.com/dlang/dmd/commit/28daf534a405e9a07d42afb8f978d8746be7b89a
Merge pull request #6880 from quickfur/stdin

--


[Issue 9287] DMD should read from stdin when an input file is "-"

2017-08-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9287

--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/7d1813309a8c89c8349672ba37a8c15f9d5a42a2
Fix issue 9287 - implement reading source from stdin.

https://github.com/dlang/dmd/commit/28daf534a405e9a07d42afb8f978d8746be7b89a
Merge pull request #6880 from quickfur/stdin

--


[Issue 9287] DMD should read from stdin when an input file is "-"

2017-08-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9287

--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/7d1813309a8c89c8349672ba37a8c15f9d5a42a2
Fix issue 9287 - implement reading source from stdin.

https://github.com/dlang/dmd/commit/28daf534a405e9a07d42afb8f978d8746be7b89a
Merge pull request #6880 from quickfur/stdin

Issue 9287 - Implement -stdin.
merged-on-behalf-of: unknown

--


[Issue 9287] DMD should read from stdin when an input file is "-"

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9287

--- Comment #5 from Walter Bright  ---
https://github.com/dlang/dmd/pull/6880

--


[Issue 9287] DMD should read from stdin when an input file is "-"

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9287

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #4 from Walter Bright  ---
(In reply to Andrej Mitrovic from comment #2)
> 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.


This is normal for Linux. Look at:

   man cat

and there are both - prefixed switches and - meaning read from stdin.

--


[Issue 9287] DMD should read from stdin when an input file is "-"

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9287

hst...@quickfur.ath.cx changed:

   What|Removed |Added

   Keywords||pull

--- Comment #3 from hst...@quickfur.ath.cx ---
https://github.com/dlang/dmd/pull/6880

--


[Issue 9287] DMD should read from stdin when an input file is "-"

2017-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9287

hst...@quickfur.ath.cx changed:

   What|Removed |Added

 CC||hst...@quickfur.ath.cx

--


[Issue 9287] DMD should read from stdin when an input file is -

2015-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9287

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|D1  D2 |D2

--


[Issue 9287] DMD should read from stdin when an input file is -

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9287


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com


--- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-01-10 
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: ---


[Issue 9287] DMD should read from stdin when an input file is -

2013-01-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9287


Alex R�nne Petersen a...@lycus.org changed:

   What|Removed |Added

 CC||a...@lycus.org
Summary|DMD should read from stdin  |DMD should read from stdin
   |when the only input file is |when an input file is -
   |- |


--- Comment #1 from Alex R�nne Petersen a...@lycus.org 2013-01-09 14:46:30 
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: ---