Re: [ILUG] find regex question

From: Padraig Brady (padraig at domain antefacto.com)
Date: Tue 18 Jun 2002 - 17:15:02 IST


Justin MacCarthy wrote:
> Hi, I'm trying to do a 'find' of all files in the format
>
> uuid.extension
>
> I've got this but its not working
>
> find / -iregex
> '^[a-z0-9]\{8\}\-[a-z0-9]\{4\}-[a-z0-9]\{4\}-[a-z0-9]\{4\}-[a-z0-9]\{12\}\.*
> $'

yuk. Why put regex in find?
How about piping output of find to grep -E '[^/]*/[-0-9A-Z]{36}\.'

Padraig.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:19 GMT