[sf-lug] path name expansion
Daniel Gimpelevich
daniel at gimpelevich.san-francisco.ca.us
Thu Aug 18 21:31:32 PDT 2016
On Thu, 2016-08-18 at 21:11 -0700, Alex Kleider wrote:
> Where have I misunderstood?
The expansion of the * is not just within the part of the path before
the /, but within the whole path. If foo*/bar does not match any file
named bar in any directory matching foo*, then the * is not expanded.
>
> ps I'm running Ubuntu 14.04LTS (still) and the shell, I believe, is
> dash, not bash.
The default shell in 14.04 is bash, even for root.
More information about the sf-lug
mailing list