echo glob('~/{,}')
/home/user//
/home/user//
The bug is that an extra slash is added at the end. It's only a
minory issue, as slashes are usually folded by the OS anyway, but it
would be better if they weren't added.
Another issue is that there's doesn't seem to be a way to escape a
comma inside a brace expansion. Neither two commas in a row or a
backslash seem to generate a comma.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---