Y
Hacker News
new
|
ask
|
show
|
jobs
by
xorcist
3748 days ago
The first cat does absolutely nothing in your example.
1 comments
pmarreck
3748 days ago
are you sure? how else would you pipe to GPG?
link
yuubi
3748 days ago
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.
link