I have a long command in a shell escape that includes semicolons. If use -#delimit ;- to allow for a long command, Stata notices the semicolons that are part of the shell command. Is there a way to escape the semicolons so that they are passed to the OS?
#delimit ;
! very long shell command including semicolons
like this ; and various quote marks continued on this line
and on this one
#delimit cr
I did notice that Stata does remove the newlines, so that the shell gets one long line up to the first semicolon and macros are expanded but I couldn't find any documentation for any of that.
Related Posts with Escape character in shell command
Power calculations for clustered designs & multiple survey roundsHello, does anyone know how to conduct power calculations that account for both clustered designs an…
Repeated cross sectional analysis - how to startGood morning you all, I will do a repeated cross sectional analysis on 14 years. However, I am won…
Compare the distributions of two variablesI would like to compare the distributions of two variables: guess_attain_own_treatment and guess_att…
Merging rows that have identical namesDear all, I have been struggling with the following issue. My dataset is basically like in the table…
Quantile treatment effect estimator by Abadie, Angrist, and Imbens (2002)Dear Statalist, Can anyone help with how to calculate percentage effects after estimating a quantil…
Subscribe to:
Post Comments (Atom)
0 Response to Escape character in shell command
Post a Comment