Re: delete lines useing sed
From: Eric (eric.xhj_at_gmail.com)
Date: 11/16/05
- Next message: Loki Harfagr: "Re: check my own ip number ?"
- Previous message: Thomas Bosch: "Re: check my own ip number ?"
- In reply to: Chris F.A. Johnson: "Re: delete lines useing sed"
- Next in thread: Chris F.A. Johnson: "Re: delete lines useing sed"
- Reply: Chris F.A. Johnson: "Re: delete lines useing sed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
man 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.
- Next message: Loki Harfagr: "Re: check my own ip number ?"
- Previous message: Thomas Bosch: "Re: check my own ip number ?"
- In reply to: Chris F.A. Johnson: "Re: delete lines useing sed"
- Next in thread: Chris F.A. Johnson: "Re: delete lines useing sed"
- Reply: Chris F.A. Johnson: "Re: delete lines useing sed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|