Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Applying glob qualifiers to non-variable types
- X-seq: zsh-users 17397
- From: Matthias Vallentin <vallentin@xxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Applying glob qualifiers to non-variable types
- Date: Fri, 16 Nov 2012 10:00:16 -0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Sender: Matthias Vallentin <matthias@xxxxxxxxxxxxx>
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