[Rpm-maint] [rpm-software-management/rpm] rpmspec: Support - as input for reading from stdin (PR #1928)

Demi Marie Obenour notifications at github.com
Tue Feb 22 16:21:13 UTC 2022


> For some reason `/dev/stdin` work on Linux but I have trouble understanding why exactly. But we can't rely on some Linux only mechanism. Closing.

`/dev/stdin` works on Linux and OpenBSD, and probably on every other \*nix-like OS.  It is a symlink to a magic file that, when opened, duplicates standard input.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1928#issuecomment-1047967371
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1928/c1047967371 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220222/70f1468c/attachment.html>


More information about the Rpm-maint mailing list