← Back to context Comment by thayne 19 days ago The behavior of bash would be to produce "a/c" and "b/c", even if both files don't exist 2 comments thayne Reply sgbeal 19 days ago > The behavior of bash would be to produce "a/c" and "b/c", even if both files don't existIn bash patterns like {a,b} aren't glob-expansion expansions, they're string operations, and those resolve before glob expansions.You can confirm this with: ls /{nope,tmp} frizlab 19 days ago zsh too
sgbeal 19 days ago > The behavior of bash would be to produce "a/c" and "b/c", even if both files don't existIn bash patterns like {a,b} aren't glob-expansion expansions, they're string operations, and those resolve before glob expansions.You can confirm this with: ls /{nope,tmp}
> The behavior of bash would be to produce "a/c" and "b/c", even if both files don't exist
In bash patterns like {a,b} aren't glob-expansion expansions, they're string operations, and those resolve before glob expansions.
You can confirm this with: ls /{nope,tmp}
zsh too