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

Re: Globbing symlinks-to-${glob_qualifier}



Lawrence Velázquez wrote on Thu, Aug 19, 2021 at 00:38:11 -0400:
> ...but it would be more accurate if it said "the files they fully
> resolve to".  So *(@-@) doesn't give you symlinks that themselves
> point to symlinks, it gives you symlinks that *fully resolve to
> symlinks*.  AFAICT this only produces results when the symlink chain
> is broken.
> 

Also when there's a symlink loop:

% ln -s foo foo 
% echo foo(@-@) 
foo




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