You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @aryaabdi, I suspect this has something to do with the backslash being used as a path separator on Windows, but treated as an escape character by braceexpand (at least by default). I admit I didn't test this on Windows. I guess the default behavior could be improved.
In the meantime, does using braceexpand("...", escape=False) fix the problem for you?
Thank you for your reply. Yes, the problem is the backslash. I could find a workaround; I now use braceexpand on filenames and then attach the directory head to the results. Will try to see if your solution works too.
The iterator returns entries with excluded directory separators. For example, instead of /path/to/some/dir, it returns pathtosomedir.
The text was updated successfully, but these errors were encountered: