zsh-users
 help / color / mirror / code / Atom feed
* Order of modifiers and flags in parameter expansion
@ 2005-03-17 17:52 Hannu Koivisto
  2005-03-18 11:08 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Hannu Koivisto @ 2005-03-17 17:52 UTC (permalink / raw)
  To: Zsh Users' List

Greetings,

I have a script foo-files that prints filenames separated by
newlines.  I want directory parts of those filenames and then I
want to get rid of duplicates.  So I write
${(u)${(f)"$(foo-files)"}:h} which works and the fact that it works
means that the h modifier is applied before the u flag.
Unfortunately I can't find where in the manual this order is
specified.  I have read 13.3.2 but it didn't seem to consider the u
flag even indirectly.  Any clues?

-- 
Hannu


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

end of thread, other threads:[~2005-03-18 11:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-17 17:52 Order of modifiers and flags in parameter expansion Hannu Koivisto
2005-03-18 11:08 ` 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).