29 Jul 13:24
approximate filename globbing
From: Ronald Fischer <ynnor <at> mm.st>
Subject: approximate filename globbing
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-07-29 11:25:41 GMT
Expires: This article expires on 2008-08-13
Subject: approximate filename globbing
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-07-29 11:25:41 GMT
Expires: This article expires on 2008-08-13
I have trouble understanding the "Approximate Matching" section in the zsh manual. Assume I have in my directory files cn1.pl, cn2.pl, cn3.pl, and I use the following glob pattern: ls (#a2)cnx.pl I had expected to see all my cn?.pl displayed, but instead I get a "zsh: no match" error. How do I correctly use (#a...) for globbing? Ronald -- -- Ronald Fischer <ronaldf <at> eml.cc> + 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)
RSS Feed