2016-03-07 08:58:05 +0100, Isabella Parakiss: [...] > OTOH this is arguably more useful than its ksh equivalent: > GLOBIGNORE=-*; some-cmd *; some-cmd ./* [...]
True, that's probably the one case where the GLOBIGNORE behaviour is actually useful. Note that with ksh93, you've got to write it: FIGNORE='@(.|..|-*)' That is, you need to exclude "." and ".." manually. -- Stephane