05.01.2003 02:00:03, "Gerald V. Livingston II" <[EMAIL PROTECTED]> 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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to