Making a gpg library

Pete Chown Pete.Chown@skygate.co.uk
Thu, 26 Oct 2000 11:24:30 +0100


David Champion wrote:


> It's also conceivable that some "innovative" vendor would come by with
> an alternate path for a fd filesystem -- say, /dev/fds/*. That would
> certainly confuse matters on that platform.
Linux uses /proc/self/fd/*. I thought about two alternatives. One would be to extend the current "-" for standard input so that: - is standard input -0 is standard input as well -5 is fd 5 and so on. But I think this is a bit counterintuitive, so I think my personal preference would be for the --input-fd option. -- Pete