#!/bin/sh
tail -F /var/log/messages 2>/dev/null |  awk '/.*GestureEngine:Touch::Sending button : [0-9] down*./ {
system("flock -n /tmp/gesture.lock ./gesture &") 
print $7
}' >> /tmp/gesture
