#!/bin/sh until inotifywait -e modify compiler.lua testc.lua; do date '+%s' lua testc.lua done