Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Question about extended globbing



    Hi David :)

 * Davilín <david@xxxxxxxxxxxx> dixit:
> >     I think we are in the second case, brace expansion and after that
> > filename generation. 
> I think they're are took literally.

    Not, at least not for me: two lists, with the appropriate pattern
removed, are generated.

> If a type 'grep something $FOO/^*txt' or
> the solution you gave me above, the filenames are generated when Tab is
> pressed, but not in the case of the braces, it seems they're are ignored
> after the ^ operator.

    Then you don't have RC_EXPAND_PARAM set. That way, you get:

    grep $FOO^*txt *info

    after the expansion, prior to filename generation ;)
 
    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/



Messages sorted by: Reverse Date, Date, Thread, Author