On Sun, Mar 06, 2016 at 10:16:58PM +0000, Stephane Chazelas wrote: > Today, I realised that GLOBIGNORE doesn't work at all like ksh's > FIGNORE. > > With > > GLOBIGNORE=x* > > we're not filtering out files whose *name* starts with "x" from > globs but those whose *path* starts with "x". > > In > > echo * > > files whose name starts with "x" will be excluded, but not in > > echo ./* >
OTOH this is arguably more useful than its ksh equivalent: GLOBIGNORE=-*; some-cmd *; some-cmd ./* --- xoxo iza