-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2010-02-14 at 02:00 +0100, David Haller wrote:
Hello,
On Sat, 13 Feb 2010, Carlos E. R. wrote:
You and Dave are correct. I must have been tired :-)
Dave, picky, picky :p. 'echo "$$" > $runfile' is better, because you
;)
"echo" should be faster than calling external program "touch", thus the preference - if I understand correctly.
No. You could go and get the pid from the runfile and kill the script with that. I.e.: test -f RUNFILE && kill $(< RUNFILE ) && rm -f RUNFILE
Sorry, I don't understand a word. Could you please explain for non bash gurus? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkt3Uh4ACgkQtTMYHG2NR9VJkwCeOaKlTIqE3u9KeZnMT//7s1Jq aoIAni4/kB7+E9PEEEUnXMo8iPA2GWEv =GaQL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org