Hi All, My regex is hopeless ... I am trying to match '0:00 motion' and it just is not having it ... echo '7882 pts/1 Sl+ 0:00 motion' | grep -e '[:digit;]:[:digit:][:digit:].motion$' can anyone tell me where I am going wrong ? Cheers Dave -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html