Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list-directory replaces [ characters in filenames with \\[, resulting in an extra slash... #15

Closed
stacksmith opened this issue Aug 17, 2016 · 2 comments

Comments

@stacksmith
Copy link

stacksmith commented Aug 17, 2016

Observed on a Xubuntu 14.04 with SBCL.

To verify the issue, please

  1. Create a file called "[test.txt"
  2. (cl-fad:list-directory "your path")
  3. Observe that the file shows as #P"your path/\[test.txt"

The resultant path cannot be opened...

@stassats
Copy link
Member

[ is special in SBCL and escaped \\[ works fine.

@stacksmith
Copy link
Author

stacksmith commented Aug 18, 2016

That is what I thought, but I wound up with a file I cannot open: it looks like "[hello]"... With a single backslash. The original file is "[hello]".
github seems to be removing slashes in comments as well, adding to the confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants