* Why doesn't (#i) work together in "a(#i)" and "[a](#i)"
@ 2006-06-22 13:09 Nikolai Weibull
2006-06-22 13:15 ` Peter Stephenson
0 siblings, 1 reply; 2+ messages in thread
From: Nikolai Weibull @ 2006-06-22 13:09 UTC (permalink / raw)
To: Zsh Users' List
$ touch A a
$ rm a(#i)
$ ls
A
$
And the same goes for
$ rm [a](#i)
I figured that perhaps for the first one there's really no filename
generation going on, as it actually names an existing file, but for
the second case I was in pattern-thinking mode and figured that that
would make the modifier work. It doesn't.
Explanation?
Thanks.
nikolai
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Why doesn't (#i) work together in "a(#i)" and "[a](#i)"
2006-06-22 13:09 Why doesn't (#i) work together in "a(#i)" and "[a](#i)" Nikolai Weibull
@ 2006-06-22 13:15 ` Peter Stephenson
0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2006-06-22 13:15 UTC (permalink / raw)
To: Zsh Users' List
"Nikolai Weibull" wrote:
> $ touch A a
> $ rm a(#i)
> $ ls
> A
Globbing Flags
There are various flags which affect any text to their right up to the
end of the enclosing group or to the end of the pattern
Use "(#i)a".
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-22 13:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-22 13:09 Why doesn't (#i) work together in "a(#i)" and "[a](#i)" Nikolai Weibull
2006-06-22 13:15 ` Peter Stephenson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).