A better answer would probably be to write the update routines entirely in Ruby instead of calling out to other programs
You are right. A simple read-modify-write shouldn't be that hard in Ruby, making it atomar atomic by writing to a new file followed by a rename shouldn't be hard, either.
Alexander
In reply to Re^4: One liner: remove ssh keys with quotemeta
by afoken
in thread One liner: remove ssh keys with quotemeta
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |