zsh-workers
 help / color / mirror / code / Atom feed
* foo(:...) and foo~ glob
@ 1998-05-02 20:27 Zoltan Hidvegi
  1998-05-02 22:27 ` Bart Schaefer
  1998-05-05  8:48 ` Andrew Main
  0 siblings, 2 replies; 5+ messages in thread
From: Zoltan Hidvegi @ 1998-05-02 20:27 UTC (permalink / raw)
  To: Zsh hacking and development

After this change:

Sun Apr  5 20:00:40 1998  Andrew Main  <zefram@fysh.org>

          + parens always trigger globbing
          + with EXTENDED_GLOB, embedded `~' triggers globbing,
            as the documentation already states

the (:quals) syntax no longer works.  The idea was that foo(:...) should
not do globbing if there are no wildcard, but it should execute the
modifiers.  This is very useful for general text manipulation.  Of course
${${:-foo}:...} still works, but it's quite ugly.

The other change related to ~ with EXTENDED_GLOB.  Before ~ was only
treated as exclusion character if it was not at the end of the word and
the word contained other glob characters.  This allowed you to write

ls *~
rm foo~
dd if=~/foo of=bar

etc.  None of these work anymore.  I know there was a special case for
the (:...) stuff before in haswilds which was not very complicated.  I
know that someone else has also complained, so it's not only me.

Zoli


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-05-05  8:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-02 20:27 foo(:...) and foo~ glob Zoltan Hidvegi
1998-05-02 22:27 ` Bart Schaefer
1998-05-03  3:22   ` Zoltan Hidvegi
1998-05-05  8:53   ` Andrew Main
1998-05-05  8:48 ` Andrew Main

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).