Re: append data / locks
- From: "shiao.jl@xxxxxxxxx" <shiao.jl@xxxxxxxxx>
- Date: Wed, 13 Jun 2007 01:10:18 -0700
On Jun 12, 9:28 pm, slin...@xxxxxxxxx wrote:
Hello,
I have several scripts that are using the redirection operator >> to
append data to a masterfile.
I now want to ensure that the masterfile is only opened by one script
at a time.
I assume I can solve this somehow by locks - but then I would need to
check if the file is not already open and set a lock at the same time.
Is there a way to do this?
or any other ideas?
Thanks,
Sven
using a global variable
.
- References:
- append data / locks
- From: slinges
- append data / locks
- Prev by Date: Re: concatenate a string several times without using for and seq
- Next by Date: Re: kill pipeline
- Previous by thread: Re: append data / locks
- Next by thread: Re: append data / locks
- Index(es):
Relevant Pages
|