Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: on globbing dot files
- X-seq: zsh-users 12844
- From: "Ronald Fischer" <ynnor@xxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: on globbing dot files
- Date: Thu, 08 May 2008 11:07:22 +0200
- Cc: "Stephane Chazelas" <Stephane_Chazelas@xxxxxxxx>
- In-reply-to: <20080507145845.GA5843@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <1210167708.15840.1251884005@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <200805071351.m47DpZNR027657@xxxxxxxxxxxxxx> <20080507145845.GA5843@xxxxxxxxxxxxxxx>
On Wed, 7 May 2008 15:58:45 +0100, "Stephane Chazelas"
<Stephane_Chazelas@xxxxxxxx> said:
> On Wed, May 07, 2008 at 02:51:35PM +0100, Peter Stephenson wrote:
> > "Ronald Fischer" wrote:
> > > I would like to expand * to include files starting with a dot, but
> > > excluding . and ..
> > With EXTENDED_GLOB, ^(.|..)(D/) should do what you want.
> [...]
>
> And with and without EXTENDED_GLOB, *(D/) should do it as well
> ;-) as globbing in zsh never expands to "." and "..".
Thanks a lot!!! This works!
Ronald
--
Ronald Fischer <ronaldf@xxxxxx>
+ If a packet hits a pocket on a socket on a port,
+ and the bus is interrupted and the interrupt's not caught,
+ then the socket packet pocket has an error to report.
+ (cited after Peter van der Linden)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author