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

Re: Filtering argument lists (e.g. for grep)



On Mon, Dec 07, 2015 at 11:56:22AM +0100, Dominik Vogt wrote:
> But could zsh help filtering the names
> generated by globbing in a more general way so that I could write
> 
>   $ <foo> *
> 
> and have zsh automagically filter the results of the * (not
> everywhere; only for commands that have this feature enabled) so
> that the non-matching names are not passed to the command in the
> first place?

Or in other words:  A context sensitive interpretation (or post
processing) of globbing patterns.  Is that possible?

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany



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