
20 Apr
2004
20 Apr
'04
11:10 a.m.
* Glenn Ramsey <glenn(a)componic.co.nz> [2004-04-20 11:07]:
Eg this doesn't find anything
$find . -regex '.*\.(cpp|h)'
Because find(1) uses basic regexes -- you have to escape almost all metacharacters. find . -regex '.*\.\(cpp\|h\)' -- Regards, Aristotle "If you can't laugh at yourself, you don't take life seriously enough."