bug-bash
[Top][All Lists]
Advanced

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

Re: glob operator does not respect nocaseglob


From: Chet Ramey
Subject: Re: glob operator does not respect nocaseglob
Date: Mon, 24 Nov 2003 15:48:38 -0500

> Machine Type: i386-pc-linux-gnu
>                                                                               
>   
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
>                                                                               
>   
> Description: The [-] glob operator does not seem to respect nocaseglob, and 
> is inconsistent too. 
> 
> EXAMPLE:
> asustwo:~$ shopt nocaseglob
> nocaseglob      off
> asustwo:~$ echo [bd]*
> bills bin de docs 
> asustwo:~$ echo [a-d]*
> B bills bin BP code de Desktop docs Documents
> asustwo:~$ echo [b-d]*
> bills bin code de Desktop docs Documents

Please read the Bash FAQ, question E9.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.cwru.edu/~chet/




reply via email to

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