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

bug on / vs (/) glob qualifiers



Heyla,
  according to the manual:
``A "/" at the end of a pattern is equivalent to "(/)".''

% setopt markdirs
% mkdir foo
% ln -s foo bar
% echo */
bar foo/
% echo *(/)
foo/

It even recognises that bar is not a directory.
-- 
Geoff Wing [gwing@xxxxxxxxxxxxxxx]   PrimeNet - Internet Consultancy
  Web: http://www.primenet.com.au/   Facsimile: +61-3-9819 3788



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