Hacker News new | ask | show | jobs
by pmarreck 3748 days ago
are you sure? how else would you pipe to GPG?
1 comments

Just redirect gpg's input from the file?

    gpg ... < hello.txt | curl ...
Its stdin will be the file instead of a pipe, but few programs care about the difference and fewer still in such a way that you'd prefer to use the pipe.