Ken's blog
mostly on computers and mathematics
Thursday, January 18, 2007
delayed file overwrite
Can I get
( sleep 10 ; echo hello ) >| foo
(bash syntax) to wait 10 seconds before overwriting the file? That is, when an already existing file is opened for writing, don't zero it until the first byte is written, or it is closed.
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment