Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Shell

From   "Hans J. Baumgartner" <[email protected]>
To   [email protected]
Subject   st: Shell
Date   Fri, 6 May 2005 11:13:16 +0200

Dear statalist,

I am using Stata8 on a Unix machine. 

I am using the a shell to erase some files, but while doing so Stata does 
not find the end of the loop. Why?


foreach x in ? {
        do something
        ! rm ${temp}/*.*

Stata does not read the closing bracket. 

Any suggestions?

Hans J. Baumgartner
Dept. Public Economics
DIW Berlin
German Institut for Economic Research
phone: +49/30/89789-307
fax :      +49/30/89789-114


*   For searches and help try:

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