Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: transformations of glob results
On Sep 23, 10:06am, Marc Chantreux wrote:
}
} and i tried variations around
} 
}     print ${(j:,:)${(@)listmaster@${(^) /etc/sympa/*/robot.conf(:h:t) }}}
} 
} which
} 
}     * doesn't work
}     * actually looks ugly
} 
} any help from a zsh poweruser ?
As Mikael said, this is difficult because globbing comes last.  You
can fork off the glob $( print -NR /etc/sympa/*/robot.conf(:h:t) )
and then split and rejoin that, but it'll be slower.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author