Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Applying glob qualifiers to non-variable types



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



Messages sorted by: Reverse Date, Date, Thread, Author