a guest Feb 23rd, 2010 276 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- tail -f $LOG | ( \
- while read LINE; do
- if echo "$LINE" | grep "$CANARY" > /dev/null; then
- echo "found it!"
- pkill -P $parent -f "tail -f $LOG"
RAW Paste Data