This was true long ago, but for 10+ years Ghostscript copies PDF documents from stdin to a temporary file that allows direct access. Please fix the man page.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ghostscript in Ubuntu. https://bugs.launchpad.net/bugs/2028006 Title: ps2ascii man page is wrong about PDFs on standard input Status in ghostscript package in Ubuntu: New Bug description: The ps2ascii man page says: "PDF input must come from an explicitly- named file, not standard input." This is incorrect. ps2ascii is perfectly happy to read a PDF from standard input: cat file.pdf | ps2ascii ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: ghostscript 9.55.0~dfsg1-0ubuntu5.3 ProcVersionSignature: Ubuntu 5.15.0-76.83-generic 5.15.99 Uname: Linux 5.15.0-76-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: KDE Date: Mon Jul 17 13:52:48 2023 InstallationDate: Installed on 2020-02-29 (1234 days ago) InstallationMedia: Kubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805) SourcePackage: ghostscript UpgradeStatus: Upgraded to jammy on 2022-12-03 (225 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/2028006/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp