Re: [bug #65759] handling of "-" and "--" on command line

2024-05-19 Thread Henrik Carlqvist
On Sun, 19 May 2024 18:02:45 -0400 (EDT) > Many programs use a single dash to mean "read from stdin" but make doesn't > do this. Yes, it does: -8< nazgul:/tmp> make -f - all: ; echo hello ** pressing ctrl-d on this next line ** echo hello hello nazgul:/tmp>

[bug #65759] handling of "-" and "--" on command line

2024-05-19 Thread Dmitry Goncharov
Follow-up Comment #2, bug #65759 (group make): - is a valid filename. i think, everybody would be better off, with one and only one syntax of having make read from stdin. ___ Reply to this item at:

[bug #65739] Add warnings circular-dep and circular-extra-dep.

2024-05-19 Thread Paul D. Smith
Follow-up Comment #3, bug #65739 (group make): I applied the first patch (with a few tweaks). Thanks! Let's discuss the second patch in bug #60736 instead ___ Reply to this item at:

[bug #60736] Introduce "Circular <- dependency dropped." for .EXTRA_PREREQS deps.

2024-05-19 Thread Paul D. Smith
Follow-up Comment #6, bug #60736 (group make): I think that using a warn option is better than forcing this to always warn. But I still think that the warning makes global usage useless, and since there's no way to control warnings on a per-target basis (today) it means the warning is hard to use

[bug #65759] handling of "-" and "--" on command line

2024-05-19 Thread Paul D. Smith
Follow-up Comment #1, bug #65759 (group make): The behavior of "make --" is as expected because according to the POSIX standard, the argument *--* specifies that no files after it are to be considered options even if they begin with "-". So for example if you wanted to make a target named *-f* yo

[bug #65759] handling of "-" and "--" on command line

2024-05-19 Thread anonymous
URL: Summary: handling of "-" and "--" on command line Group: make Submitter: None Submitted: Sun 19 May 2024 02:35:54 PM UTC Severity: 3 - Normal Item Group: Bu