Statalist


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

Re: st: Odd -dir- result


From   Dan Weitzenfeld <[email protected]>
To   [email protected]
Subject   Re: st: Odd -dir- result
Date   Fri, 20 Mar 2009 11:53:12 -0700

This example behaves as expected... really weird.

Even weirder:

*******
dir *11*
  14.7k   3/18/09 18:26  1st_response_ba_COG.gph
  16.8k   3/18/09 18:25  1st_response_11_EMO.gph
  16.8k   3/18/09 18:25  1st_response_11_COG.gph

. local test : dir . files "*11*"

. foreach t of local test {
  2. di "`t'"
  3. }
1st_response_11_emo.gph
1st_response_11_cog.gph
*************



On Fri, Mar 20, 2009 at 11:46 AM, Jeph Herrin <[email protected]> wrote:
> Try this one:
>
> ******************
> sysuse auto, clear
>
> sc price we, nodraw
> graph save 1st_response_ba_COG, replace
> sc price we, nodraw
> graph save 1st_response_11_EMO, replace
> sc price we, nodraw
> graph save 1st_response_11_COG, replace
>
> dir *11*
> *******************
>
> -name()- has other problems, too. For instance, if you do
> put valid name, the file doesn't really appear anywhere.
>
>
>
> Martin Weiss wrote:
>>
>> <>
>>
>> Orthogonal to the main problem: How did you obtain the graph files. I
>> cannot reproduce them...
>>
>> *******
>> sysuse auto, clear
>>
>> sc price we, name(1st_response_ba_COG, replace) nodraw
>> sc price we, name(1st_response_11_EMO, replace) nodraw
>> sc price we, name(1st_response_11_COG, replace) nodraw
>>                                    dir *11*
>>   *******
>>
>> due to invalid name
>>
>> HTH
>> Martin
>>
>> -------- Original-Nachricht --------
>>>
>>> Datum: Fri, 20 Mar 2009 11:20:00 -0700
>>> Von: Dan Weitzenfeld <[email protected]>
>>> An: [email protected]
>>> Betreff: st: Odd -dir- result
>>
>>> Hi,
>>> Does anyone know why this would happen - why the first of the .gph
>>> files would pass through the *11* filter?
>>>
>>>  dir *11*
>>>  14.7k   3/18/09 18:26  1st_response_ba_COG.gph
>>>  16.8k   3/18/09 18:25  1st_response_11_EMO.gph
>>>  16.8k   3/18/09 18:25  1st_response_11_COG.gph
>>>
>>> -Dan
>>> *
>>> *   For searches and help try:
>>> *   http://www.stata.com/help.cgi?search
>>> *   http://www.stata.com/support/statalist/faq
>>> *   http://www.ats.ucla.edu/stat/stata/
>>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>



-- 
Dan Weitzenfeld
Media Analyst
EmSense Corporation
512 2nd Street, 3rd Floor
San Francisco, CA 94107
w: 415.418.7314
m: 510.552.0106
[email protected]

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index