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: > 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 peo

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 delet

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

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

2003-03-18 Thread Matt Roper
On Tue, Mar 18, 2003 at 12:58:01AM -0800, Bill Kendrick wrote: > > 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),

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

2003-03-18 Thread Peter Jay Salzman
begin Mike Simons <[EMAIL PROTECTED]> > 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... >

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: > > "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 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 lockfil

[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 g