[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date index
][
Thread index
]
st: re:shell
From
Kit Baum <
[email protected]
>
To
[email protected]
Subject
st: re:shell
Date
Sat, 7 May 2005 07:40:38 -0400
Correct, I was not trying do-file code, in which (interactive) case /* means naught. But this DOES work in do-file code;
-- start do file --
cd /applications/stata/ado/base
local c = c(alpha)
foreach w of local c {
local arg "`w'/*.ado"
di "`arg'"
ls `arg'
}
-- end do file --
Quoting the expression containing the forward slash protects it from being interpreted as a comment, and it will work in a shell command.
Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html
*
* For searches and help try:
*
http://www.stata.com/support/faqs/res/findit.html
*
http://www.stata.com/support/statalist/faq
*
http://www.ats.ucla.edu/stat/stata/
Follow-Ups
:
Re: st: re:shell
From:
"Neil Shephard" <
[email protected]
>
Prev by Date:
Re: st: RE: [Stata 8] Merge question
Next by Date:
st: re: shell (correction)
Previous by thread:
st: confidence intervals around point estimates plotted against time ascategorical variable
Next by thread:
Re: st: re:shell
Index(es):
Date
Thread
© Copyright 1996–2024 StataCorp LLC |
Terms of use
|
Privacy
|
Contact us
|
What's new
|
Site index