Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pmarreck
on March 20, 2016
|
parent
|
context
|
favorite
| on:
$ cat ~/myfile | curl -X PUT --upload-file “-” htt...
are you sure? how else would you pipe to GPG?
yuubi
on March 20, 2016
[–]
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.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: