top | item 46612322 (no title) luckman212 | 1 month ago would very much like to see a small example of how to create, consume, and destroy those FIFOs... discuss order hn newest stouset|1 month ago https://man7.org/linux/man-pages/man1/mkfifo.1.htmlPretty simple. This creates a named pipe. One end of a shell command redirects to it, one end redirects from it. rm when finished. akdev1l|1 month ago You can just use process substitutioncat <(secret-print my-secret) SoftTalker|1 month ago In a shell script situation, you'd typically trap EXIT and ERR and remove the fifo in the handler.
stouset|1 month ago https://man7.org/linux/man-pages/man1/mkfifo.1.htmlPretty simple. This creates a named pipe. One end of a shell command redirects to it, one end redirects from it. rm when finished. akdev1l|1 month ago You can just use process substitutioncat <(secret-print my-secret) SoftTalker|1 month ago In a shell script situation, you'd typically trap EXIT and ERR and remove the fifo in the handler.
SoftTalker|1 month ago In a shell script situation, you'd typically trap EXIT and ERR and remove the fifo in the handler.
stouset|1 month ago
Pretty simple. This creates a named pipe. One end of a shell command redirects to it, one end redirects from it. rm when finished.
akdev1l|1 month ago
cat <(secret-print my-secret)
SoftTalker|1 month ago