Re: [vox-tech] simple stupid lockfile example?

2003-03-20 Thread Henry House
On Tue, Mar 18, 2003 at 04:09:53AM -0500, Mike Simons wrote: On Tue, Mar 18, 2003 at 12:58:01AM -0800, Bill Kendrick wrote: i want to replace 'tin' with a shell script or alias that will test for a lock file (and call me a moron if it exists), make a lock file, run tin, and then delete the

Re: [vox-tech] simple stupid lockfile example?

2003-03-20 Thread Bill Kendrick
On Thu, Mar 20, 2003 at 09:53:54PM -0800, Henry House wrote: snip There are a bunch of good shell scripting techniques that may yield some purchase on your problem in O'Reilly's Unix Power Tools. (There is a copy in the LUGOD library.) *Ashamed* I have that book. I highly recommend it to

[vox-tech] simple stupid lockfile example?

2003-03-18 Thread Bill Kendrick
ok, i hate it when i run tin, and then forget i have it in the background somewhere and run it again. i want to replace 'tin' with a shell script or alias that will test for a lock file (and call me a moron if it exists), make a lock file, run tin, and then delete the lock file... anyone got a

Re: [vox-tech] simple stupid lockfile example?

2003-03-18 Thread Mike Simons
On Tue, Mar 18, 2003 at 12:58:01AM -0800, Bill Kendrick wrote: i want to replace 'tin' with a shell script or alias that will test for a lock file (and call me a moron if it exists), make a lock file, run tin, and then delete the lock file... = #! /bin/bash LOCK=$HOME/.tin.lock lockfile

Re: [vox-tech] simple stupid lockfile example?

2003-03-18 Thread Bill Kendrick
On Tue, Mar 18, 2003 at 04:09:53AM -0500, Mike Simons wrote: snip lockfile is part of the procmail package. Cool, thanks! :^) -bill! ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech

Re: [vox-tech] simple stupid lockfile example?

2003-03-18 Thread Mike Simons
On Tue, Mar 18, 2003 at 07:45:23PM -0800, Matt Roper wrote: alias tin=screen -D -R -S tinsess tin That is an excellent suggestion! ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech