Abstract
delaycat (delayed cat): Cat stdin to stdout, AFTER the pipe is closed.
Table of Contents
delaycat (delayed cat): Cat stdin to stdout, AFTER the pipe is closed.
This is useful when piping files that are in used while wanting to overwrite them, for example:
cat file.conf | sed -e 's/from/to/g' > out ; mv out file.conf
can be replaced with
cat file.conf | sed -e 's/from/to/g' | delaycat file.conf
Important
This computer program or library is provided for free. I am aware that some of the programs that I provide for free allow people to get their work done faster or better, save them time and money. If you are using this program for benefit, especially if you are using it within a commercial environment and it saves you time or work, please consider making a donation by sending me a book from my Amazon Wishlist or by a direct donation to my company's PayPal account by clicking on the link below.