Re: delete lines useing sed
From: Eric (eric.xhj_at_gmail.com)
Date: 16 Nov 2005 01:19:35 -0800
Chris F.A. Johnson wrote:
> > 2) find . -name !(*2005101502*|*2005101503*)
> > or
> > find . -name "!(*2005101502*|*2005101503*)"
> > Not work, it seems find does not interprets this expression, or
> > interpret it in an unexpected way.
> AFAIK, you cannot use extended globbing with find.
True if pattern matches the current file name. Normal
shell file name generation characters (see sh(1)) may
be used. A backslash (\) is used as an escape charac-
ter within the pattern. The pattern should be escaped
or quoted when find is invoked from the shell.