This example was contributed by Charles Duffy (who is now more than a little embarassed by same, and suggests using flock instead). It has been separated from the parent page because the code has several issues that make it dubious.

BashFAQ/045/contrib (last edited 2012-09-04 14:37:22 by net66-219-41-161)