ASHELL: Stata module to capture output from OS shell command
Nikos Askitas · RePEc: Research Papers in Economics · 2007
ashell is to be thought of as "another shell" or as "alternative" or "additional" shell. If you were at some point frustrated to find out that there is no way to capture the output of an OS command (one you submit by using stata's shell command) into a stata variable so that you can reformat it and reuse it or parts of it later then this is the module that solves your problem. It kind of adds to stata's shell command a feature like perl's backticks where you write something like "array = `os_command`" and your array contains the output of os_command.