Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: on globbing dot files



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