Re: wanted: analog to procmail's lockfile

Aleksey Cheusov <[email protected]> Thu, 28 Feb 2008 20:53:40 +0200
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
> In article <[email protected]>,
> Aleksey Cheusov  <[email protected]> wrote:
 >>Does anybody know more or less well known replacement for
 >>"lockfile" utility shipped with procmail?
 >>
 >>I'd prefer standalone utility that is distributed without so heavy baggage.

> shlock?

Unfortunately shlock cannot WAIT until lockfile is freed :-(

   while ! shlock ...; do
      sleep xxx;
   done

looks ugly

-- 
Best regards, Aleksey Cheusov.