Tag Archives: coprocess

coprocesses in bash using dc as an example

Coprocesses are a feature of bash which allow you to communicate with the stdin and stdout of a subprocess. I illustrate this by having a bash script to interact with “dc”, the arbitrary precision calculator, to sum up a sequence … Continue reading

Posted in Computers, Uncategorized | Tagged , , | Leave a comment