05.01.2003 02:00:03, "Gerald V. Livingston II" <debuser@sysmatrix.net> wrote: >I want "TRUE" if there is one or more zzz.jpg files in a directory, >"FALSE" if there are zero of them. One solution might be: ls | grep -q '\.jpg$' Cheers, Michael