I am looking for a GUI program that opens a pdf from stdin.
For instance, if
pdf_stdin is the command that opens my pdf from stdin, I'd like to use
ggp -d -r email@example.com encrypted.pdf.gpg -o - | pdf_stdin
man -t arpwatch | pdf_stdin
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
cat foo.pdf | zathura -
The version on my system saves the pipe temporarily to /tmp, so the displayed document is seekable. The temporary file is cleaned up afterward and has reasonably secure permissions, but these could be security concerns.
$ ls -l /tmp/z* -rw------- 1 user user 1640882 Mar 23 06:26 /tmp/zathura.stdin.97PFXY
It's available in the standard repositories on Arch, Debian and Ubuntu.