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

Re: glob qualifier on intermediate directory / no symbolic links



On 7/10/19, Pier Paolo Grassi <pierpaolog@xxxxxxxxx> wrote:
> you can do something like this:
>
> setopt NULL_GLOB
> typeset -a arr=(*(^@))
> ls ${^arr}/file
>
> but I'm curious if there is any solution that doesn't require using an
> intermediate array

There isn't.

-- 
Mikael Magnusson



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