-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
A:globBehavior around file-system globbing with regular commands or `glob`. See also A:quoting/expansionBehavior around file-system globbing with regular commands or `glob`. See also A:quoting/expansioncategory:enhancementNew feature or requestNew feature or requeststatus:needs-designthis feature requires designthis feature requires design
Milestone
Description
Related problem
Commands like mv interpret passed strings as glob patterns out of the box, and there is no way to explicitly disable this behavior AFAIK. Now it's problematic to perform some mv operation on a file containing characters can be interpreted as glob like square brackets.
Describe the solution you'd like
Introduce --no-glob option for all commands accept glob patterns by default. Short option name should be resolved case-by-case, but -n can be preferred by default.
Describe alternatives you've considered
No response
Additional context and details
Issue is created out of this topic.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:globBehavior around file-system globbing with regular commands or `glob`. See also A:quoting/expansionBehavior around file-system globbing with regular commands or `glob`. See also A:quoting/expansioncategory:enhancementNew feature or requestNew feature or requeststatus:needs-designthis feature requires designthis feature requires design