How to write zsh/python filename expansion with backreferences? -
i have files following structure
env1.current/bin/env1/filename env2.current/bin/env2/filename env3.current/bin/env3/filename env4.current/bin/env3/filename
how list above files? similar below?
ls (.*).current/bin/\1/filename #doesn't work!
is possible in list in python? glob module doesn't support backreferencing.
Comments
Post a Comment