Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: matching all files which do not have a dot in filename
- X-seq: zsh-users 7927
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: matching all files which do not have a dot in filename
- Date: Tue, 24 Aug 2004 15:17:41 -0700 (PDT)
- In-reply-to: <20040824210752.GK7841@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <slrncin6pk.im5.usenet@xxxxxxxxx> <20040824210752.GK7841@xxxxxxxxxxxxx>
- Reply-to: zsh-users@xxxxxxxxxx
On Tue, 24 Aug 2004, Julius Plenz wrote:
> First I thought of this: **/*~*.* - but that doesn't work since it
> includes sub-directories which I dont want to get matched. So I tried
> **/*(.)~*.* to just match files - but zsh says that doesn't work.
Did you try **/*~*.*(.) ? I think you have the glob qualifier in the
wrong place. However, that will omit all files underneath directories
with dots in the directory name, which may not be what you meant.
On Tue, 24 Aug 2004, Vincent Lefevre wrote:
> With EXTENDED_GLOB set: [^.]#
Or **/[^.]#(.) for all such plain files in the tree.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author