2010-09-01 17:29, Victor Lowther:
Bash globbing cannot handle it, but bash knows how to test file
timestamps, so we could code something up that handles killing the
daemons in reverse timestamp order if we had to.

ls -l --full-time healthd fancontrol
-rw-r--r-- 1 root root 0 2010-09-02 00:51:28.680006529 +0200 fancontrol
-rw-r--r-- 1 root root 0 2010-09-02 00:51:28.736673174 +0200 healthd

[[ healthd -nt fancontrol || healthd -ot fancontrol ]] || echo equal
equal

It appears as if bash doesn't recognise fractions of a second :/

Reply via email to