[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: GLOBIGNORE documentation
From:       Stephane Chazelas <stephane.chazelas () gmail ! com>
Date:       2016-03-07 11:44:32
Message-ID: 20160307114432.GA6247 () chaz ! gmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic