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 7926
- From: DervishD <disposable1@xxxxxxxxxxxxxx>
- To: Julius Plenz <jp@xxxxxxx>
- Subject: Re: matching all files which do not have a dot in filename
- Date: Wed, 25 Aug 2004 00:07:56 +0200
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <slrncin6pk.im5.usenet@xxxxxxxxx>
- Mail-followup-to: Julius Plenz <jp@xxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <slrncin6pk.im5.usenet@xxxxxxxxx>
Hi Julius :)
* Julius Plenz <usenet@xxxxxxxxx> dixit:
> 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.
Try (if you want recursion at all) **/*~*.*(.) The glob modifier
affects the entire glob expression, so the above means 'match all
files no matter its name except if they have a dot in their name'.
Hope that helps :) (here does).
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author