help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Glob star pattern does not match files beginning with a


From: Greg Wooledge
Subject: Re: [Help-bash] Glob star pattern does not match files beginning with a period
Date: Fri, 17 Jul 2015 08:14:24 -0400
User-agent: Mutt/1.4.2.3i

On Thu, Jul 16, 2015 at 09:23:32PM -0600, Eric Blake wrote:
> And if you DO use nullglob, you then run into the issue you discovered
> earlier that if all three globs expand to nothing, then you invoke plain
> 'ls', which acts as though it had been given the argument '.' (not every
> application behaves like that, but for ls, it can confuse you for
> figuring out what happened).

And this is precisely why nullglob is not recommended in interactive
shells.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]