DolphinDB has a console mode, which is very convenient when I'm too lazy to open the browser. But when I have a bunch of code to run, it would be better to save it to a file and execute like this:
> ./dolphindb awesome.txt
# or like this
> ./dolphindb < awesome.txt
# or
> cat awesome.txt | ./dolphindb
But none of these works, so I wonder how would I do this properly.
请尝试以下命令
./dolphindb -run awesome.txt
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.