On Sun, Jun 9, 2024, at 4:30 PM, Lawrence Velázquez wrote: > arr=(${(M)arr:#(#i)*/[^/]#$1[!/]#/}) Sorry, I used both "[^/]" and "[!/]" out of absentmindedness, not for any technically necessary reason. They do the same thing. -- vq