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
In the current BCP and implementation for glob, we tried to expand the pattern while executing the command. This brings up the following questions:
Inconsistent with the shell's behavior of interpreting first, then executing.
shell attempts to expand the argument by matching the wildcard to all possible files in the path. The resulting set of file paths is then sent to the target command as a list of arguments.
Wildcard expanding and command execution mashups make implementation complex.
There is no suitable Glob adapted to our scenario.
Some Match implementations that require pattern to match all of name, not just a substring. So we have to expand and match pattern level by level.
We plan to restate the GSP with the expected behavior of expanding the glob first and then executing the command (with the result paths as a list of arguments of the command). For this case, we need to:
RFC PR: #96
Steps
The text was updated successfully, but these errors were encountered: