-
Notifications
You must be signed in to change notification settings - Fork 458
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
feat: prevent paths from being treated as options in file
command
#1783
Conversation
Thanks for the PR! Could you explain a bit what issue it solves? i.e. in what cases and with which filenames would they be treated as options? Also, does it work on non-Unix platforms like Windows? |
The change addresses an issue where file paths, especially those starting with a I have tested this in a Windows virtual machine using the |
Sorry, I still don't quite understand the issue. These file paths are always absolute paths, meaning a filename like just |
Thank you for your clarification. You are correct that if the program is always using absolute paths, then the issue of filenames starting with a However, I would like to highlight a couple of points regarding this change:
In conclusion, while the current implementation might not require Thank you for considering this perspective. |
I see your point. My thoughts and concerns are that if something isn't broken, it's better not to touch it. Yet since So, I have some doubts about whether the support for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
file
commandfile
command
I changed the title to |
No description provided.