zsh-users
 help / color / mirror / code / Atom feed
* Applying glob qualifiers to non-variable types
@ 2012-11-16 18:00 Matthias Vallentin
  2012-11-16 19:55 ` Oliver Kiddle
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Vallentin @ 2012-11-16 18:00 UTC (permalink / raw)
  To: zsh-users

I have a scenario where a command gives similar output to find, .e.g.,

    ./path/to/foo.ext
    ./path/to/bar.ext

I was wondering if it is possible to use glob qualifier to handle the
output in the following way:

    command | print <?>:t:r

where <?> would be some magic I am missing. I tried to capture STDIN in
various ways $(</dev/stdin), $(<&0), etc., but could not find working
solution.

   Matthias


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

end of thread, other threads:[~2012-11-16 22:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-16 18:00 Applying glob qualifiers to non-variable types Matthias Vallentin
2012-11-16 19:55 ` Oliver Kiddle
2012-11-16 21:55   ` Valodim Skywalker

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