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

pruning path array.



How do I delete elements of an array (say path) that do not exist as
directories?  Something akin to

	path[(r).]=() 

deleting the element '.' from one's path.

			Anthony.

-- 
Anthony R Iano-Fletcher        Anthony.Iano-Fletcher@xxxxxxx
                               http://cbel.cit.nih.gov/~arif
                               CBEL, CIT, NIH, Bethesda, MD, USA.
                               Phone: (+1) 301 402 1741.



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