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
xtcsd Command ErrorHi Dear, While running xtcsd, pesaran abs I get the following error unknown egen function group() …
Ordinal Data: CFA treating data accordingly vs continuouslyI have ordinal, that is to say Likert-type of data, with four response categories. Bandalos (2018) …
"cannot open C:\Program Files (x86)\Stata13\inter.txt" , what i can do to open the matrix file?i create a distance matrix using spmat command, and when i export the following matrix to a text for…
Correlate scales from different sources when data is in long formatHi My data is in long format and consists of six sub-scales (Scale1-Scale6) and three different res…
rolling geometric meanHi, Is there a simple way to calculate rolling geometric means, for example 10 year window? Can I u…
Subscribe to:
Post Comments (Atom)
0 Response to Escape character in shell command
Post a Comment