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

Re: Filename Generation (again)



Peter Stephenson <pws@xxxxxxx> writes:

> Joel J. Adamson wrote:
>> ----------------------------------------
>> doit:1: no matches found: /home/joel/data/*generic*~*~
>> ----------------------------------------
>
> Assuming, of course, there are files there, the obvious possibility
> is that the extended_glob option isn't set.
>
> You might want to sanitize the options you are using in the function
> by setting:
>
> emulate -L zsh
> setopt extendedglob
>
> right at the start of the function (adding anything else you need).


Thanks  -- that did it.  Now I understand why ...

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

*Getting unexpected output from Word?
http://www.youtube.com/watch?v=9sZtriK9rKQ&NR=1

*Try LaTeX: it's free, easy and professional
http://www.edafe.org/latex/
http://en.wikipedia.org/wiki/LaTeX
http://nitens.org/taraborelli/latex





The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information.



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