uhmm...

why you need the tail and grep there?
could do with kix too.
_________________________
!

download KiXnet