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> make --version
GNU Make 4.1
Built for x86_64-slackware-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
nazgul:/tmp> 
-8<----------------------------------------

regards Henrik

Reply via email to